[gtk+] x11: Make gdk_x11_display_get_root_window available



commit 5db2352ebac04142bfe683bed866ba229b9f3c8a
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Nov 5 21:05:25 2017 -0500

    x11: Make gdk_x11_display_get_root_window available
    
    This will replace the frontend api of the same name.

 gdk/x11/gdkdisplay-x11.c |    2 +-
 gdk/x11/gdkdisplay-x11.h |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
index eb18348..d3813cd 100644
--- a/gdk/x11/gdkdisplay-x11.c
+++ b/gdk/x11/gdkdisplay-x11.c
@@ -3154,7 +3154,7 @@ gdk_x11_display_get_setting (GdkDisplay  *display,
   return gdk_x11_screen_get_setting (GDK_X11_DISPLAY (display)->screen, name, value);
 }
 
-static GdkWindow *
+GdkWindow *
 gdk_x11_display_get_root_window (GdkDisplay *display)
 {
   return gdk_x11_screen_get_root_window (GDK_X11_DISPLAY (display)->screen);
diff --git a/gdk/x11/gdkdisplay-x11.h b/gdk/x11/gdkdisplay-x11.h
index 536cd68..87b5f7f 100644
--- a/gdk/x11/gdkdisplay-x11.h
+++ b/gdk/x11/gdkdisplay-x11.h
@@ -170,6 +170,8 @@ GdkFilterReturn _gdk_wm_protocols_filter        (GdkXEvent   *xev,
                                                  GdkEvent    *event,
                                                  gpointer     data);
 
+GdkWindow *gdk_x11_display_get_root_window (GdkDisplay *display);
+
 G_END_DECLS
 
 #endif  /* __GDK_X11_DISPLAY__ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]