Skip to content
Snippets Groups Projects
Commit eedd0fed authored by Goblin's avatar Goblin Committed by Alan Coopersmith
Browse files

xev: fix KeymapNotify event printing


When xev prints the KeymapNotify event (after the user brings the xev window
into focus), it incorrectly displays unsigned char values >= 128. For
instance, 128 is printed as 42949667168.

This can be seen for instance by holding the '6' key (which has the
keycode 15) and then bringing the xev window into focus. Observe the
KeymapNotify event, the second number after "keys: " will be 42949667168.
If you instead hold the '5' key (which has the keycode 14), you'll see
64 there, as expected.

No-one seems to have noticed since at least the last millenium ;-)

Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent ad23b1e9
1 merge request!4xev: fix KeymapNotify event printing
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment