1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/x11/libxfce4menu/files/patch-libxfce4kbd-private__xfce-shortcut-dialog.c
Olivier Duchateau ebcf65c2df Fix keyboard shortcuts with Shift.
Reviewed by:	wblock@
Obtained from:	Git upstream (master branch)
2013-05-11 18:15:40 +00:00

14 lines
502 B
C

https://bugzilla.xfce.org/show_bug.cgi?id=8744
--- ./libxfce4kbd-private/xfce-shortcut-dialog.c.orig 2012-04-28 19:46:52.000000000 +0000
+++ ./libxfce4kbd-private/xfce-shortcut-dialog.c 2013-05-09 09:19:32.000000000 +0000
@@ -327,6 +327,8 @@
&keyval, NULL, NULL, &consumed);
/* Get the modifiers */
+ if ((modifiers & GDK_SHIFT_MASK) && (consumed & GDK_SHIFT_MASK))
+ consumed &= ~GDK_SHIFT_MASK;
modifiers &= ~consumed;
modifiers &= mod_mask;