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:
Matthias Clasen 2024-02-23 22:49:09 -05:00
parent f6e4b964b7
commit 7b380b2ffc

View File

@ -2437,7 +2437,7 @@ apply_monitor_change (GdkWaylandMonitor *monitor)
gboolean needs_scaling = FALSE; gboolean needs_scaling = FALSE;
double scale; double scale;
if (monitor->xdg_output_done) if (!should_expect_xdg_output_done (monitor) || monitor->xdg_output_done)
{ {
logical_geometry = monitor->xdg_output_geometry; logical_geometry = monitor->xdg_output_geometry;
needs_scaling = needs_scaling =