aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2024-01-10 04:51:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-01-24 19:00:18 +0000
commit7e3da3007bb2459900d2c88d3ec11aecd1956849 (patch)
tree2bd4e6f1ea5134227a162dd4b96474ce6aa4b301 /wayland.h
parentinput: kitty: update to latest version of the spec (diff)
wayland: use wl_compositor version 6 when available
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index 67aadec2..145e480d 100644
--- a/wayland.h
+++ b/wayland.h
@@ -363,6 +363,7 @@ struct wl_window {
bool unmapped;
float scale;
+ int preferred_buffer_scale;
struct zxdg_toplevel_decoration_v1 *xdg_toplevel_decoration;
@@ -429,6 +430,8 @@ 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;