[Xfce4-commits] <libxfce4ui:master> Don't get the default display a second time.
Jérôme Guelfucci
noreply at xfce.org
Sun Dec 30 15:42:48 CET 2012
Updating branch refs/heads/master
to 53a93d33534af5b17317487aad531dcce0c4bc60 (commit)
from 084d79c43fa7bbb5c284808927a99808d85dc925 (commit)
commit 53a93d33534af5b17317487aad531dcce0c4bc60
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Sun Dec 30 11:01:10 2012 +0100
Don't get the default display a second time.
libxfce4kbd-private/xfce-shortcuts-grabber.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/libxfce4kbd-private/xfce-shortcuts-grabber.c b/libxfce4kbd-private/xfce-shortcuts-grabber.c
index a7632fa..a035fb4 100644
--- a/libxfce4kbd-private/xfce-shortcuts-grabber.c
+++ b/libxfce4kbd-private/xfce-shortcuts-grabber.c
@@ -277,8 +277,7 @@ xfce_shortcuts_grabber_grab (XfceShortcutsGrabber *grabber,
}
numlock_modifier =
- XkbKeysymToModifiers (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
- GDK_KEY_Num_Lock);
+ XkbKeysymToModifiers (GDK_DISPLAY_XDISPLAY (display), GDK_KEY_Num_Lock);
for (i = 0; i < n_keys; i ++)
{
More information about the Xfce4-commits
mailing list