diff options
Diffstat (limited to 'include/sway/server.h')
-rw-r--r-- | include/sway/server.h | 9 |
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 @@ | |||
11 | #include <wlr/types/wlr_xdg_shell.h> | 11 | #include <wlr/types/wlr_xdg_shell.h> |
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 "list.h" | ||
14 | #include "sway/xwayland.h" | 15 | #include "sway/xwayland.h" |
15 | 16 | ||
16 | struct sway_server { | 17 | struct sway_server { |
@@ -40,6 +41,14 @@ struct sway_server { | |||
40 | struct sway_xwayland xwayland; | 41 | struct sway_xwayland xwayland; |
41 | struct wl_listener xwayland_surface; | 42 | struct wl_listener xwayland_surface; |
42 | struct wl_listener xwayland_ready; | 43 | struct wl_listener xwayland_ready; |
44 | |||
45 | bool debug_txn_timings; | ||
46 | |||
47 | list_t *transactions; | ||
48 | |||
49 | // When a view is being destroyed and is waiting for a transaction to | ||
50 | // complete it will be stored here. | ||
51 | list_t *destroying_containers; | ||
43 | }; | 52 | }; |
44 | 53 | ||
45 | struct sway_server server; | 54 | struct sway_server server; |