summaryrefslogtreecommitdiff
path: root/include/sway/server.h
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-06-30 06:27:39 -0700
committerGitHub <[email protected]>2018-06-30 06:27:39 -0700
commitd8c61c976372eedf271f505ffd82c461b6503f6f (patch)
tree323739dc80680dd774acfdcf43eb76cfe93aa64c /include/sway/server.h
parent9ba72433b6c87086f2772405e09e8ac8c0136a01 (diff)
parente396af853b01438f7e5ef34bfa6fd2507d11ce5a (diff)
Merge pull request #2072 from RyanDwyer/atomic
Atomic layout updates
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;