[Xfce4-commits] <libxfce4ui:xfce-4.10> Don't get the default display a second time.
Jérôme Guelfucci
noreply at xfce.org
Sat May 4 12:10:11 CEST 2013
Updating branch refs/heads/xfce-4.10
to f038df3d7c083fde9448dccd1d81b0e48aea83df (commit)
from 4dba3925c2103a1320759bc003df68dbc9b0394f (commit)
commit f038df3d7c083fde9448dccd1d81b0e48aea83df
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 f177206..0bff386 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