aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-02-21 09:45:05 +0100
committerIsaac Freund <mail@isaacfreund.com>2023-03-28 22:58:29 +0000
commit89dcecba39d4f49b673f2fa976354c91413a4c3f (patch)
tree69ef4bcc7146d3c4404006df5952b661bf87ab5a /include/backend
parentfcc092c2a68c912d8aaf12618fd9afa734ff6170 (diff)
backend/wayland: only unmap layers when necessary
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/wayland.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index 75e85879..13c65235 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -71,6 +71,7 @@ struct wlr_wl_output_layer {
struct wl_surface *surface;
struct wl_subsurface *subsurface;
+ bool mapped;
};
struct wlr_wl_output {