aboutsummaryrefslogtreecommitdiff
path: root/include/sway/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/server.h')
-rw-r--r--include/sway/server.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index b016aba8..1e1aa3cc 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -11,6 +11,7 @@
#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/render/wlr_renderer.h>
// TODO WLR: make Xwayland optional
+#include "list.h"
#include "sway/xwayland.h"
struct sway_server {
@@ -40,6 +41,14 @@ struct sway_server {
struct sway_xwayland xwayland;
struct wl_listener xwayland_surface;
struct wl_listener xwayland_ready;
+
+ bool debug_txn_timings;
+
+ list_t *transactions;
+
+ // 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;