diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-04-12 13:35:25 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-04-12 13:35:25 +0000 |
| commit | e753bb953bdf2a30d79d637aafa64cf3fdd2f7d4 (patch) | |
| tree | 8d29758db5a1661d6078be2193539a9e3c44d757 /wayland.h | |
| parent | changelog: add a new 'unreleased' section (diff) | |
wayland: remove has_wl_compositor_v6
We deviate slightly from the specification, in that we don't assume a
preferred buffer scale of 1. Instead, we "guess" the scale *until we
receive a surface_preferred_buffer_scale event.
Because of this, we don't need the has_wl_compositor_v6 member, as
it's enough to check if we have a non-zero 'preferred buffer scale'.
Diffstat (limited to 'wayland.h')
| -rw-r--r-- | wayland.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -430,8 +430,6 @@ struct wayland { struct wl_subcompositor *sub_compositor; struct wl_shm *shm; - bool has_wl_compositor_v6; - struct zxdg_output_manager_v1 *xdg_output_manager; struct xdg_wm_base *shell; |
