aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-17 14:12:34 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-18 03:48:01 +0000
commit59f0a721c4663aafd30179e34a38165dd137a0db (patch)
tree4a9556d86479d36273e2878efe01d1a885146321 /wayland.h
parentterm: font_dpi_changed: scale (and old_scale) are floating point (diff)
wayland: fractional_scale_preferred_scale(): only push update if scale has changed
Also, drop wl_window::have_preferred_scale. Check for scale > 0 instead.
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/wayland.h b/wayland.h
index 6d1cd727..9e581b20 100644
--- a/wayland.h
+++ b/wayland.h
@@ -374,7 +374,6 @@ struct wl_window {
bool unmapped;
float scale;
- bool have_preferred_scale;
struct zxdg_toplevel_decoration_v1 *xdg_toplevel_decoration;