xevents, monitored by attaching xev to window returned by
XGetInputFocus(), when it is not working, after pushing 'm':

    KeyPress event, serial 18, synthetic NO, window 0xc000bb,
        root 0x32b, subw 0xc000c0, time 534381661, (384,234),
    root:(385,235),
        state 0x0, keycode 58 (keysym 0x6d, m), same_screen YES,
        XLookupString gives 1 bytes: (6d) "m"
        XmbLookupString gives 1 bytes: (6d) "m"
        XFilterEvent returns: False

    PropertyNotify event, serial 18, synthetic NO, window 0xc000bb,
        atom 0x104 (_NET_WM_USER_TIME), time 534381662, state
    PropertyNewValue

    KeyRelease event, serial 18, synthetic NO, window 0xc000bb,
        root 0x32b, subw 0xc000c0, time 534381861, (384,234),
    root:(385,235),
        state 0x0, keycode 58 (keysym 0x6d, m), same_screen YES,
        XLookupString gives 1 bytes: (6d) "m"
        XFilterEvent returns: False


When it is working:

    KeyPress event, serial 14, synthetic NO, window 0xc000bb,
        root 0x32b, subw 0xc000c0, time 534566511, (455,28), root:(456,29),
        state 0x0, keycode 58 (keysym 0x6d, m), same_screen YES,
        XLookupString gives 1 bytes: (6d) "m"
        XmbLookupString gives 1 bytes: (6d) "m"
        XFilterEvent returns: False

    PropertyNotify event, serial 14, synthetic NO, window 0xc000bb,
        atom 0x104 (_NET_WM_USER_TIME), time 534566512, state
    PropertyNewValue

    PropertyNotify event, serial 18, synthetic NO, window 0xc000bb,
        atom 0x104 (_NET_WM_USER_TIME), time 534566519, state
    PropertyNewValue

    KeyRelease event, serial 18, synthetic NO, window 0xc000bb,
        root 0x32b, subw 0xc000c0, time 534566647, (455,28), root:(456,29),
        state 0x0, keycode 58 (keysym 0x6d, m), same_screen YES,
        XLookupString gives 1 bytes: (6d) "m"
        XFilterEvent returns: False


I notice when it is not working, there is only one _NET_WM_USER_TIME
PropertyNotify event, but when it is working there are two. Could this
be significant?

-- 
Brian May <[email protected]>



_______________________________________________
Ratpoison-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/ratpoison-devel

Reply via email to