Fix restoration of key bindings assigned to Windows+key, bug #7037
Windows key generates Mod4+Super (at least with the version of Gdk we use on linux) so for bindings using the Windows key to work, GDK_SUPER_MASK has to be added to modifier mask.
This commit is contained in:
parent
0e65852901
commit
8d70b76059
@ -86,7 +86,7 @@ guint Keyboard::snap_delta_mod = Keyboard::Level4Modifier;
|
|||||||
guint Keyboard::PrimaryModifier = GDK_CONTROL_MASK; // Control
|
guint Keyboard::PrimaryModifier = GDK_CONTROL_MASK; // Control
|
||||||
guint Keyboard::SecondaryModifier = GDK_MOD1_MASK; // Alt/Option
|
guint Keyboard::SecondaryModifier = GDK_MOD1_MASK; // Alt/Option
|
||||||
guint Keyboard::TertiaryModifier = GDK_SHIFT_MASK; // Shift
|
guint Keyboard::TertiaryModifier = GDK_SHIFT_MASK; // Shift
|
||||||
guint Keyboard::Level4Modifier = GDK_MOD4_MASK; // Mod4/Windows
|
guint Keyboard::Level4Modifier = GDK_MOD4_MASK|GDK_SUPER_MASK; // Mod4/Windows
|
||||||
guint Keyboard::CopyModifier = GDK_CONTROL_MASK;
|
guint Keyboard::CopyModifier = GDK_CONTROL_MASK;
|
||||||
guint Keyboard::RangeSelectModifier = GDK_SHIFT_MASK;
|
guint Keyboard::RangeSelectModifier = GDK_SHIFT_MASK;
|
||||||
guint Keyboard::button2_modifiers = 0; /* not used */
|
guint Keyboard::button2_modifiers = 0; /* not used */
|
||||||
|
Loading…
Reference in New Issue
Block a user