forked from AuroraMiddleware/gtk
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:
parent
6a1f5c0af5
commit
06a51b6ca6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user