[Xmonad] keybinding not working after update to xorg-7.3

alexandre ac007 at bluewin.ch
Mon Sep 10 20:52:28 EDT 2007


Dear Xmonaders :]

Two of my keybindings stoped working when i updated xorg to version 7.3,
while other keybindings (also using modMask) still work properly.  This
might not be a Xmonad problem but someone might be abble to help me
solve this ? It looks like the key combo is not grabed anymore (see xev
captures below).  Any help/pointer would be much appreciated.

Regards,
Alexandre

I'm using a swiss-french keyboard. Here's the output of a "setxkbmap
-print" :
xkb_keymap {
	xkb_keycodes  { include "xfree86+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+ch(fr)"	};
	xkb_geometry  { include "pc(pc105)"	};
};

I am using Xmonad (0.3 darcs version) along with RotView, and the
buggy keybinding is defined in Config.hs like this :
---
import XMonadContrib.RotView
...
modMask :: KeyMask
modMask = mod4Mask
...
    , ((modMask,               xK_agrave), rotView False)
    , ((modMask,               xK_dollar), rotView True)
...
------------------------------------------------------------------------

And here is a keybinding with which i have no problem even after xorg
update :
---
((modMask .|. shiftMask, xK_Return), spawn "urxvt -tr")
------------------------------------------------------------------------

Here is a 'xev' capture with previous xorg version, where the keybinding
was working (press 'Win' key and hold, press and release 'agrave' or
'dollar', release 'Win' key) :
---
KeyPress event, serial 24, synthetic NO, window 0xe00001,
    root 0x79, subw 0x0, time 3980496244, (116,531), root:(838,551),
    state 0x0, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

FocusOut event, serial 24, synthetic NO, window 0xe00001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 24, synthetic NO, window 0xe00001,
    mode NotifyUngrab, detail NotifyAncestor

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

FocusOut event, serial 24, synthetic NO, window 0xe00001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 24, synthetic NO, window 0xe00001,
    mode NotifyUngrab, detail NotifyAncestor

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

KeyRelease event, serial 24, synthetic NO, window 0xe00001,
    root 0x79, subw 0x0, time 3980499843, (116,531), root:(838,551),
    state 0x40, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
------------------------------------------------------------------------

And a second capture with xorg 7.3, where the keybinding does not work
anymore (same key sequence) :
---
KeyPress event, serial 24, synthetic NO, window 0xc00001,
    root 0x7a, subw 0x0, time 3061096, (670,422), root:(672,442),
    state 0x0, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 24, synthetic NO, window 0xc00001,
    root 0x7a, subw 0x0, time 3064159, (670,422), root:(672,442),
    state 0x40, keycode 51 (keysym 0x24, dollar), same_screen YES,
    XLookupString gives 1 bytes: (24) "$"
    XmbLookupString gives 1 bytes: (24) "$"
    XFilterEvent returns: False

KeyRelease event, serial 24, synthetic NO, window 0xc00001,
    root 0x7a, subw 0x0, time 3064247, (670,422), root:(672,442),
    state 0x40, keycode 51 (keysym 0x24, dollar), same_screen YES,
    XLookupString gives 1 bytes: (24) "$"
    XFilterEvent returns: False

KeyPress event, serial 24, synthetic NO, window 0xc00001,
    root 0x7a, subw 0x0, time 3072308, (670,422), root:(672,442),
    state 0x40, keycode 48 (keysym 0xe0, agrave), same_screen YES,
    XLookupString gives 2 bytes: (c3 a0) "à"
    XmbLookupString gives 2 bytes: (c3 a0) "à"
    XFilterEvent returns: False

KeyRelease event, serial 24, synthetic NO, window 0xc00001,
    root 0x7a, subw 0x0, time 3072380, (670,422), root:(672,442),
    state 0x40, keycode 48 (keysym 0xe0, agrave), same_screen YES,
    XLookupString gives 2 bytes: (c3 a0) "à"
    XFilterEvent returns: False

KeyRelease event, serial 24, synthetic NO, window 0xc00001,
    root 0x7a, subw 0x0, time 3074171, (670,422), root:(672,442),
    state 0x40, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
------------------------------------------------------------------------


More information about the Xmonad mailing list