summaryrefslogtreecommitdiff
path: root/include/sway/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/server.h')
-rw-r--r--include/sway/server.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index 65d96e7a..f5f88a5a 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -12,6 +12,7 @@
#include <wlr/render/wlr_renderer.h>
// TODO WLR: make Xwayland optional
#include <wlr/xwayland.h>
+#include "list.h"
struct sway_server {
struct wl_display *wl_display;
@@ -43,6 +44,12 @@ struct sway_server {
struct wlr_wl_shell *wl_shell;
struct wl_listener wl_shell_surface;
+
+ bool terminating;
+
+ // When a view is being destroyed and is waiting for a transaction to
+ // complete it will be stored here.
+ list_t *destroying_containers;
};
struct sway_server server;