From 4f25e1ba9ff136ed237a0c4632c11a65b537cbb2 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 18 Jul 2024 08:07:32 +0200 Subject: wayland: use wl_shm v2 if available --- wayland.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wayland.h') 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( -- cgit v1.3