summaryrefslogtreecommitdiff
path: root/plugins/gtkui/hotkeys.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-12 21:45:51 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-12 21:45:51 +0100
commit48d0b0a8dcc6d482cd8a57ea9d14c920c921aa0c (patch)
tree3b570896cbb8cc6d554dbdb110da4313d5be15b2 /plugins/gtkui/hotkeys.c
parent7ad78ff1ae43ce8195d828088b75a86f265bdf3f (diff)
gtkui: fixed hotkey combinations with SHIFT
Diffstat (limited to 'plugins/gtkui/hotkeys.c')
-rw-r--r--plugins/gtkui/hotkeys.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/gtkui/hotkeys.c b/plugins/gtkui/hotkeys.c
index f176cf8d..f62aa36e 100644
--- a/plugins/gtkui/hotkeys.c
+++ b/plugins/gtkui/hotkeys.c
@@ -757,14 +757,13 @@ on_hotkeys_set_key_key_press_event (GtkWidget *widget,
/* Filter consumed modifiers
*/
- accel_mods &= ~consumed_modifiers;
+ accel_mods &= ~(consumed_modifiers&~GDK_SHIFT_MASK);
/* Put shift back if it changed the case of the key, not otherwise.
*/
int lower = gdk_keyval_to_lower (accel_key);
if (lower != accel_key) {
accel_key = lower;
- accel_mods |= GDK_SHIFT_MASK;
}
char name[1000];