I have two keyborad keys, "Back" and "Forward". Forward works like it should, here is the output from xev for it:
KeyPress event, serial 36, synthetic NO, window 0x4600001,
root 0x175, subw 0x0, time 16491048, (21,-17), root:(771,35),
state 0x10, keycode 167 (keysym 0x1008ff27, XF86Forward), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x4600001,
root 0x175, subw 0x0, time 16491272, (21,-17), root:(771,35),
state 0x10, keycode 167 (keysym 0x1008ff27, XF86Forward), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Back on the other hand gives this from xev
FocusOut event, serial 36, synthetic NO, window 0x4600001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 36, synthetic NO, window 0x4600001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 36, 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
Can someone help me make Back work? I don't understand why X generats Focus events for it..