[Xfce4-commits] [xfce/libxfce4ui] 06/08: Replace gdk_display_get_screen (Bug #15781)

noreply at xfce.org noreply at xfce.org
Sun Oct 13 20:20:19 CEST 2019


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       x   f   c   e   -   4   .   1   4   
   in repository xfce/libxfce4ui.

commit dc49fdd981511308e4c063586919e4b71bf7f854
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sun Aug 4 13:49:25 2019 -0300

    Replace gdk_display_get_screen (Bug #15781)
---
 libxfce4kbd-private/xfce-shortcuts-grabber.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libxfce4kbd-private/xfce-shortcuts-grabber.c b/libxfce4kbd-private/xfce-shortcuts-grabber.c
index 04e1a34..e085cdb 100644
--- a/libxfce4kbd-private/xfce-shortcuts-grabber.c
+++ b/libxfce4kbd-private/xfce-shortcuts-grabber.c
@@ -323,7 +323,7 @@ xfce_shortcuts_grabber_grab (XfceShortcutsGrabber *grabber,
 
 #if GTK_CHECK_VERSION (3, 0, 0)
           /* Retrieve the root window of the screen */
-          root_window = GDK_WINDOW_XID (gdk_screen_get_root_window (gdk_display_get_screen (display, j)));
+          root_window = GDK_WINDOW_XID (gdk_screen_get_root_window (gdk_display_get_default_screen (display)));
           gdk_x11_display_error_trap_push (display);
 #else
           /* Retrieve the root window of the screen */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list