LINUX.ORG.RU

История изменений

Исправление takino, (текущая версия) :

только контрол:

FocusOut event, serial 33, synthetic NO, window 0x3600001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 33, synthetic NO, window 0x3600001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

Нету KeyPress/KeyRelease ивентов

alt-ctrl:

KeyRelease event, serial 33, synthetic NO, window 0x3600001,
    root 0xd6, subw 0x0, time 136648928, (253,490), root:(374,674),
    state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

KeyPress event, serial 36, synthetic NO, window 0x3600001,
    root 0xd6, subw 0x0, time 136649377, (253,490), root:(374,674),
    state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 36, synthetic NO, window 0x3600001,
    root 0xd6, subw 0x0, time 136650352, (253,490), root:(374,674),
    state 0x18, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x3600001,
    root 0xd6, subw 0x0, time 136651969, (253,490), root:(374,674),
    state 0x1c, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x3600001,
    root 0xd6, subw 0x0, time 136652656, (253,490), root:(374,674),
    state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

левый/правый контрол - без разницы, KeyPressed ивентов в логе xev'а все равно нету, без нажатия доп. клавиши.
Анонимусу: встроенную в бук клавиатуру не отключить, т.к. разбирать бук для этого я не хочу. Есть какие-то другие варианты?

Исходная версия takino, :

только контрол:

FocusOut event, serial 33, synthetic NO, window 0x3600001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 33, synthetic NO, window 0x3600001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

Нету KeyPress/KeyRelease ивентов

alt-ctrl:

KeyRelease event, serial 33, synthetic NO, window 0x3600001,
    root 0xd6, subw 0x0, time 136648928, (253,490), root:(374,674),
    state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

KeyPress event, serial 36, synthetic NO, window 0x3600001,
    root 0xd6, subw 0x0, time 136649377, (253,490), root:(374,674),
    state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 36, synthetic NO, window 0x3600001,
    root 0xd6, subw 0x0, time 136650352, (253,490), root:(374,674),
    state 0x18, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x3600001,
    root 0xd6, subw 0x0, time 136651969, (253,490), root:(374,674),
    state 0x1c, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x3600001,
    root 0xd6, subw 0x0, time 136652656, (253,490), root:(374,674),
    state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False


Анонимусу: встроенную в бук клавиатуру не отключить, т.к. разбирать бук для этого я не хочу. Есть какие-то другие варианты?