wayland/display: Remove duplicate update_scale() call

`apply_monitor_change()` already calls `update_scale()`.
Note that this only affects old compositor versions (see
`should_update_monitor()`) so it's just a minor cleanup.
This commit is contained in:
Robert Mader 2022-09-03 00:48:17 +02:00
parent 6a1f5c0af5
commit 06a51b6ca6

View File

@ -2449,9 +2449,6 @@ output_handle_geometry (void *data,
if (should_update_monitor (monitor) || !monitor_has_xdg_output (monitor))
apply_monitor_change (monitor);
if (should_update_monitor (monitor))
update_scale (GDK_MONITOR (monitor)->display);
}
static void