mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
wayland: Fix handling of output scales
Wayland protocols, in their wisdom, replaced xdg_output_done with wl_output_done, just to make it more fun to handle multiple protocol versions.
This commit is contained in:
parent
f6e4b964b7
commit
7b380b2ffc
@ -2437,7 +2437,7 @@ apply_monitor_change (GdkWaylandMonitor *monitor)
|
||||
gboolean needs_scaling = FALSE;
|
||||
double scale;
|
||||
|
||||
if (monitor->xdg_output_done)
|
||||
if (!should_expect_xdg_output_done (monitor) || monitor->xdg_output_done)
|
||||
{
|
||||
logical_geometry = monitor->xdg_output_geometry;
|
||||
needs_scaling =
|
||||
|
Loading…
Reference in New Issue
Block a user