diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-11-05 18:19:04 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-11-05 18:19:04 -0500 |
commit | 84a3772ef6d2214cc302225b75a174ad3a9384a8 (patch) | |
tree | 114897c377026a37eaad88a1a0cab6f8d3ba2f6e /gdk/broadway/gdkdisplay-broadway.c | |
parent | 206da9774d55bbbcc64fd8cb620eeb9ecf588c86 (diff) | |
download | gtk+-84a3772ef6d2214cc302225b75a174ad3a9384a8.tar.gz |
broadway: Stop using gdk_display_get_toplevel_windows
We already keep a list of all toplevels in the broadway
display struct. Just use it.
Diffstat (limited to 'gdk/broadway/gdkdisplay-broadway.c')
-rw-r--r-- | 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 b2e12c5106..fbf53aad0b 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; |