aboutsummaryrefslogtreecommitdiffstats
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 @@
12#include <wlr/render/wlr_renderer.h> 12#include <wlr/render/wlr_renderer.h>
13// TODO WLR: make Xwayland optional 13// TODO WLR: make Xwayland optional
14#include <wlr/xwayland.h> 14#include <wlr/xwayland.h>
15#include "list.h"
15 16
16struct sway_server { 17struct sway_server {
17 struct wl_display *wl_display; 18 struct wl_display *wl_display;
@@ -43,6 +44,12 @@ struct sway_server {
43 44
44 struct wlr_wl_shell *wl_shell; 45 struct wlr_wl_shell *wl_shell;
45 struct wl_listener wl_shell_surface; 46 struct wl_listener wl_shell_surface;
47
48 bool terminating;
49
50 // When a view is being destroyed and is waiting for a transaction to
51 // complete it will be stored here.
52 list_t *destroying_containers;
46}; 53};
47 54
48struct sway_server server; 55struct sway_server server;