aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-07-18 06:07:32 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-07-18 06:23:25 +0000
commit4f25e1ba9ff136ed237a0c4632c11a65b537cbb2 (patch)
tree97a1862087311fea0c69bf5d5fc73addaabda9bd /wayland.h
parentthemes: catppuccin: replace with updated flavors (diff)
wayland: use wl_shm v2 if 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 9577f08f..9db02d89 100644
--- a/wayland.h
+++ b/wayland.h
@@ -455,6 +455,9 @@ struct wayland {
tll(struct seat) seats;
tll(struct terminal *) terms;
+
+ /* WL_SHM >= 2 */
+ bool use_shm_release;
};
struct wayland *wayl_init(