add Mod2Mask and Mod4Mask to the modifiers, fix the issue with Numlock
2005-01-07 Sebastien Bacher <seb128@debian.org> * gnome-settings-mouse.c: (set_locate_pointer): add Mod2Mask and Mod4Mask to the modifiers, fix the issue with Numlock activated (Closes: #149383).
This commit is contained in:
parent
9b8a663c05
commit
52b43b5d1c
2 changed files with 28 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-01-07 Sebastien Bacher <seb128@debian.org>
|
||||||
|
|
||||||
|
* gnome-settings-mouse.c: (set_locate_pointer): add Mod2Mask and
|
||||||
|
Mod4Mask to the modifiers, fix the issue with Numlock activated
|
||||||
|
(Closes: #149383).
|
||||||
|
|
||||||
2005-01-07 Sergey V. Udaltsov <svu@gnome.org>
|
2005-01-07 Sergey V. Udaltsov <svu@gnome.org>
|
||||||
|
|
||||||
* gnome-settings-keyboard-xkb.c: optimization - only update the
|
* gnome-settings-keyboard-xkb.c: optimization - only update the
|
||||||
|
|
|
@ -199,9 +199,31 @@ set_locate_pointer (gboolean locate_pointer)
|
||||||
False,
|
False,
|
||||||
GrabModeAsync,
|
GrabModeAsync,
|
||||||
GrabModeSync);
|
GrabModeSync);
|
||||||
|
XGrabKey (GDK_DISPLAY_XDISPLAY (display),
|
||||||
|
keys[i].keycode,
|
||||||
|
Mod2Mask,
|
||||||
|
xroot,
|
||||||
|
False,
|
||||||
|
GrabModeAsync,
|
||||||
|
GrabModeSync);
|
||||||
|
XGrabKey (GDK_DISPLAY_XDISPLAY (display),
|
||||||
|
keys[i].keycode,
|
||||||
|
Mod4Mask,
|
||||||
|
xroot,
|
||||||
|
False,
|
||||||
|
GrabModeAsync,
|
||||||
|
GrabModeSync);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
XUngrabKey (GDK_DISPLAY_XDISPLAY (display),
|
||||||
|
keys[i].keycode,
|
||||||
|
Mod4Mask,
|
||||||
|
xroot);
|
||||||
|
XUngrabKey (GDK_DISPLAY_XDISPLAY (display),
|
||||||
|
keys[i].keycode,
|
||||||
|
Mod2Mask,
|
||||||
|
xroot);
|
||||||
XUngrabKey (GDK_DISPLAY_XDISPLAY (display),
|
XUngrabKey (GDK_DISPLAY_XDISPLAY (display),
|
||||||
keys[i].keycode,
|
keys[i].keycode,
|
||||||
LockMask,
|
LockMask,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue