wayland: use wl_shm v2 if available

This commit is contained in:
Daniel Eklöf 2024-07-18 08:07:32 +02:00
parent 1fd4076082
commit 4f25e1ba9f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 17 additions and 3 deletions

View file

@ -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(