diff options
author | Bastien Nocera <hadess@hadess.net> | 2012-02-19 16:43:33 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2012-02-19 17:18:13 +0100 |
commit | 6697d5c6def72c8a4f4fa2b29ccb0afede90ca38 (patch) | |
tree | 4f859564bc86d026fd76bc132a30a929daa5ee3a /gtk/gtktreeviewcolumn.c | |
parent | 52026c3775c09c1b1c28ff75c44da26b2d7fac1d (diff) | |
download | gtk+-6697d5c6def72c8a4f4fa2b29ccb0afede90ca38.tar.gz |
x11: Fix first call to _gdk_x11_keymap_key_is_modifier()
_gdk_x11_keymap_key_is_modifier() never tries to set min/max_keycode
if they haven't been set before, meaning that until another function
sets those, all the keys will be seen as non-modifiers.
This causes GdkKeyEvents to be wrongly tagged with "->is_modifier = 0"
when in actual fact the key is a modifier. This fixes keyboard
shortcuts captured with GtkCellRendererAccel in "raw" mode thinking
a modifier without any actual keys is a valid shortcut.
https://bugzilla.gnome.org/show_bug.cgi?id=670400
Diffstat (limited to 'gtk/gtktreeviewcolumn.c')
0 files changed, 0 insertions, 0 deletions