mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
broadway: Stop using gdk_display_get_toplevel_windows
We already keep a list of all toplevels in the broadway display struct. Just use it.
This commit is contained in:
parent
206da9774d
commit
84a3772ef6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user