projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a1f5c0
)
wayland/display: Remove duplicate update_scale() call
author
Robert Mader
<robert.mader@posteo.de>
Fri, 2 Sep 2022 22:48:17 +0000
(
00:48
+0200)
committer
Robert Mader
<robert.mader@posteo.de>
Fri, 2 Sep 2022 22:53:02 +0000
(
00:53
+0200)
`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.
gdk/wayland/gdkdisplay-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdisplay-wayland.c
b/gdk/wayland/gdkdisplay-wayland.c
index 142c9717302605515c3aec34e4889ba1bc2bacbe..89982d76a5f4b860cd2b7774fd7c2b4b3c75a789 100644
(file)
--- a/
gdk/wayland/gdkdisplay-wayland.c
+++ b/
gdk/wayland/gdkdisplay-wayland.c
@@
-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