mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-25 06:46:36 -04:00
wayland: fractional_scale_preferred_scale(): only push update if scale has changed
Also, drop wl_window::have_preferred_scale. Check for scale > 0 instead.
This commit is contained in:
parent
829353a5da
commit
59f0a721c4
2 changed files with 9 additions and 5 deletions
|
|
@ -374,7 +374,6 @@ struct wl_window {
|
|||
bool unmapped;
|
||||
|
||||
float scale;
|
||||
bool have_preferred_scale;
|
||||
|
||||
struct zxdg_toplevel_decoration_v1 *xdg_toplevel_decoration;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue