diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-02-15 16:04:29 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-04-15 19:33:57 +0000 |
commit | 8516bbe422388882909a44fe7dd4b6c733a06fa7 (patch) | |
tree | 575190c250eddc97e92b3c96808fff0dc0ab6f96 | |
parent | 2cc5c572383239ce0bef1e0b8c4f8e8f024aae70 (diff) |
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 <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1398>
-rw-r--r-- | hw/xnest/Events.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |