backslash escaping shift key?

martin f krafft madduck at madduck.net
Fri Oct 12 02:52:27 PDT 2007


also sprach martin f krafft <madduck at madduck.net> [2007.10.11.2016 +0100]:
>   press \
>   release \
>   press <shift>
>     press d
>     release d
>   release <shift>

Thanks to Daniel Stone for pointing me at
https://bugs.freedesktop.org/show_bug.cgi?id=12509, which seems
related.

See the following xev output and note how the Shift key only
registers after the d KeyRelease event:

KeyPress event, serial 29, synthetic NO, window 0x4200001,
    root 0x5c, subw 0x0, time 1288285946, (104,90), root:(1622,108),
    state 0x10, keycode 51 (keysym 0x5c, backslash), same_screen YES,
    XLookupString gives 1 bytes: (5c) "\"
    XmbLookupString gives 1 bytes: (5c) "\"
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x4200001,
    root 0x5c, subw 0x0, time 1288285995, (104,90), root:(1622,108),
    state 0x10, keycode 51 (keysym 0x5c, backslash), same_screen YES,
    XLookupString gives 1 bytes: (5c) "\"
    XFilterEvent returns: False

KeyPress event, serial 32, synthetic NO, window 0x4200001,
    root 0x5c, subw 0x0, time 1288286060, (104,90), root:(1622,108),
    state 0x10, keycode 40 (keysym 0x64, d), same_screen YES,
    XLookupString gives 1 bytes: (64) "d"
    XmbLookupString gives 1 bytes: (64) "d"
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x4200001,
    root 0x5c, subw 0x0, time 1288286122, (104,90), root:(1622,108),
    state 0x10, keycode 40 (keysym 0x64, d), same_screen YES,
    XLookupString gives 1 bytes: (64) "d"
    XFilterEvent returns: False

KeyPress event, serial 32, synthetic NO, window 0x4200001,
    root 0x5c, subw 0x0, time 1288286154, (104,90), root:(1622,108),
    state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x4200001,
    root 0x5c, subw 0x0, time 1288286154, (104,90), root:(1622,108),
    state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net at madduck
 
"it is the mark of an educated mind
 to be able to entertain a thought
 without accepting it."
                                                        -- aristoteles
 
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.x.org/archives/xorg/attachments/20071012/cd7a8391/attachment.pgp>


More information about the xorg mailing list