LINUX.ORG.RU

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

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

Внешняя работает. И на ней нажатие Ctrl+Alt выглядит так просто:

KeyPress event, serial 35, synthetic NO, window 0x5400001,
    root 0x1ca, subw 0x0, time 88067, (1088,395), root:(1089,457),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 38, synthetic NO, window 0x5400001,
    root 0x1ca, subw 0x0, time 88612, (1088,395), root:(1089,457),
    state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x5400001,
    root 0x1ca, subw 0x0, time 88868, (1088,395), root:(1089,457),
    state 0xc, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x5400001,
    root 0x1ca, subw 0x0, time 89332, (1088,395), root:(1089,457),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Кстати, теперь на встроенной клавиатуре нажатие Ctrl+Alt выглядит так:

KeyPress event, serial 38, synthetic NO, window 0x5200001,
    root 0x1ca, subw 0x0, time 187016, (615,329), root:(616,391),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x5200001,
    root 0x1ca, subw 0x0, time 187657, (615,329), root:(616,391),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 38, synthetic NO, window 0x5200001,
    root 0x1ca, subw 0x0, time 189156, (615,329), root:(616,391),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x5200001,
    root 0x1ca, subw 0x0, time 189614, (615,329), root:(616,391),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Да, Alt_L нету, при нажатии на Atl появляется отжатие Control_L. Если при этом нажимать Alt отдельно, то всё ок, появляется инфо об Alt_L .

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

Внешняя работает. И на ней нажатие Ctrl+Alt выглядит так просто:

KeyPress event, serial 35, synthetic NO, window 0x5400001,
    root 0x1ca, subw 0x0, time 88067, (1088,395), root:(1089,457),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 38, synthetic NO, window 0x5400001,
    root 0x1ca, subw 0x0, time 88612, (1088,395), root:(1089,457),
    state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x5400001,
    root 0x1ca, subw 0x0, time 88868, (1088,395), root:(1089,457),
    state 0xc, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x5400001,
    root 0x1ca, subw 0x0, time 89332, (1088,395), root:(1089,457),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False