When i try this i get the following list of events: KeyPress Shift_L KeyPress KP_End (on my kbd this is kp_1) KeyRelease KP_End KeyRelease Shift_L
did you check your results without filter ? re, wh KeyPress event, serial 32, synthetic NO, window 0x5e00001, root 0x7e, subw 0x0, time 1863325410, (-7,-23), root:(606,425), state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 35, synthetic NO, window 0x5e00001, root 0x7e, subw 0x0, time 1863326829, (-7,-23), root:(606,425), state 0x11, keycode 87 (keysym 0xff9c, KP_End), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 35, synthetic NO, window 0x5e00001, root 0x7e, subw 0x0, time 1863326973, (-7,-23), root:(606,425), state 0x11, keycode 87 (keysym 0xff9c, KP_End), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 35, synthetic NO, window 0x5e00001, root 0x7e, subw 0x0, time 1863327985, (-7,-23), root:(606,425), state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False ________________________________________ Von: xorg <xorg-boun...@lists.x.org> im Auftrag von Sreyan Chakravarty <sreya...@gmail.com> Gesendet: Sonntag, 16. Februar 2020 12:11:55 An: xorg@lists.x.org Betreff: Why does X11 generate an extra SHIFT when I press Shift+KP_1 ? When I press Shift+KP_1 why am I getting an extra Shift in my xev output ? 50 Shift_L 87 KP_1 50 Shift_L I am running xev in the following format: xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }' This is messing with my i3 configs. Where is the extra Shift coming from ? I have disabled autorepeat and I still get the same output. (xset r off) Keyboard Layout: English US Default OS: Manjaro i3wm Why is this happening? -- Regards, Sreyan Chakravarty _______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: https://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s