From 8516bbe422388882909a44fe7dd4b6c733a06fa7 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 15 Feb 2024 16:04:29 +0100 Subject: [PATCH] Xnest: print event ID on warning about unhandled upstream event When getting an unhandled event from upstream Xserver, a warning is printed, but it doesn't tell which one yet. Just printing it's ID should be good enough for now - it's already a good help for debugging. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/xnest/Events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xnest/Events.c b/hw/xnest/Events.c index 5474f88ab..88db0d18f 100644 --- a/hw/xnest/Events.c +++ b/hw/xnest/Events.c @@ -214,7 +214,7 @@ xnestCollectEvents(void) break; default: - ErrorF("xnest warning: unhandled event\n"); + ErrorF("xnest warning: unhandled event: %d\n", X.type); break; } }