Mercurial > projects > xinhibit-applet
comparison xia-inhibitor.c @ 3:957d697d27d3
Minimize interference with menus
Fake keypresses of the left Alt key interfere with the menus of several
toolkits, use the left Shift key instead.
author | Guido Berhoerster <guido+xinhibit-applet@berhoerster.name> |
---|---|
date | Sat, 27 Jul 2013 19:21:07 +0200 |
parents | 9a16bf50daba |
children | 14f31e92372f |
comparison
equal
deleted
inserted
replaced
2:432155b982cf | 3:957d697d27d3 |
---|---|
60 return (TRUE); | 60 return (TRUE); |
61 } | 61 } |
62 | 62 |
63 if (keycode == 0) { | 63 if (keycode == 0) { |
64 keycode = XKeysymToKeycode(gdk_x11_get_default_xdisplay(), | 64 keycode = XKeysymToKeycode(gdk_x11_get_default_xdisplay(), |
65 XK_Alt_L); | 65 XK_Shift_L); |
66 if (keycode == 0) { | 66 if (keycode == 0) { |
67 return (TRUE); | 67 return (TRUE); |
68 } | 68 } |
69 } | 69 } |
70 | 70 |