[Xfce4-commits] <libxfce4ui:jeromeg/keyboard-shortcuts> Grab on all root windows when building with GTK+ 3.
Jérôme Guelfucci
noreply at xfce.org
Sun Dec 30 11:04:02 CET 2012
Updating branch refs/heads/jeromeg/keyboard-shortcuts
to b9f459f6c28796d5140b2a75b4ce05f108214716 (commit)
from 53a93d33534af5b17317487aad531dcce0c4bc60 (commit)
commit b9f459f6c28796d5140b2a75b4ce05f108214716
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Sun Dec 30 11:01:37 2012 +0100
Grab on all root windows when building with GTK+ 3.
libxfce4kbd-private/xfce-shortcuts-grabber.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libxfce4kbd-private/xfce-shortcuts-grabber.c b/libxfce4kbd-private/xfce-shortcuts-grabber.c
index a035fb4..211b606 100644
--- a/libxfce4kbd-private/xfce-shortcuts-grabber.c
+++ b/libxfce4kbd-private/xfce-shortcuts-grabber.c
@@ -311,7 +311,7 @@ xfce_shortcuts_grabber_grab (XfceShortcutsGrabber *grabber,
#if GTK_CHECK_VERSION (3, 0, 0)
/* Retrieve the root window of the screen */
- root_window = gdk_x11_get_default_root_xwindow ();
+ root_window = GDK_WINDOW_XID (gdk_screen_get_root_window (gdk_display_get_screen (display, j)));
#else
/* Retrieve the root window of the screen */
root_window = GDK_WINDOW_XWINDOW (gdk_screen_get_root_window (gdk_display_get_screen (display, j)));
More information about the Xfce4-commits
mailing list