[gtk+] broadway: Stop using gdk_display_get_toplevel_windows



commit 84a3772ef6d2214cc302225b75a174ad3a9384a8
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Nov 5 18:19:04 2017 -0500

    broadway: Stop using gdk_display_get_toplevel_windows
    
    We already keep a list of all toplevels in the broadway
    display struct. Just use it.

 gdk/broadway/gdkdisplay-broadway.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/broadway/gdkdisplay-broadway.c b/gdk/broadway/gdkdisplay-broadway.c
index b2e12c5..fbf53aa 100644
--- a/gdk/broadway/gdkdisplay-broadway.c
+++ b/gdk/broadway/gdkdisplay-broadway.c
@@ -89,7 +89,7 @@ _gdk_broadway_display_size_changed (GdkDisplay                      *display,
   gdk_monitor_set_size (monitor, msg->width, msg->height);
   gdk_monitor_set_physical_size (monitor, msg->width * 25.4 / 96, msg->height * 25.4 / 96);
 
-  toplevels = gdk_display_get_toplevel_windows (display);
+  toplevels =  broadway_display->toplevels;
   for (l = toplevels; l != NULL; l = l->next)
     {
       GdkWindow *toplevel = l->data;


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