[gtk+/gtk-3-22] gdk: Fix gdk_screen_get_monitor_workarea not returning work area



commit 7961e61c3b9e052b0725ccf28665796a7d467e43
Author: Robert Ancell <robert ancell canonical com>
Date:   Tue Sep 26 15:31:44 2017 -0400

    gdk: Fix gdk_screen_get_monitor_workarea not returning work area
    
    This was introcuced in the commit 0611cb4823c (GTK+ 3.22).

 gdk/gdkscreen.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkscreen.c b/gdk/gdkscreen.c
index 79cf1fe..8d245b0 100644
--- a/gdk/gdkscreen.c
+++ b/gdk/gdkscreen.c
@@ -902,8 +902,7 @@ gdk_screen_get_monitor_workarea (GdkScreen    *screen,
 
   g_return_if_fail (monitor != NULL);
 
-  /* FIXME */
-  gdk_monitor_get_geometry (monitor, dest);
+  gdk_monitor_get_workarea (monitor, dest);
 }
 
 /**


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