diff options
author | emersion <contact@emersion.fr> | 2018-10-23 23:38:57 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-10-23 23:38:57 +0200 |
commit | a654ac1bd626e13917568acaebb6ecdb04c77596 (patch) | |
tree | 87d9e727e76d7eea9f74ba609f73cf7aa82b9c2f /include/sway/server.h | |
parent | Merge pull request #2942 from ianyfan/swaybar (diff) | |
download | sway-a654ac1bd626e13917568acaebb6ecdb04c77596.tar.gz sway-a654ac1bd626e13917568acaebb6ecdb04c77596.tar.zst sway-a654ac1bd626e13917568acaebb6ecdb04c77596.zip |
Implement the presentation-time protocol
Diffstat (limited to 'include/sway/server.h')
-rw-r--r-- | include/sway/server.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index 3e1cbb33..5fced224 100644 --- a/include/sway/server.h +++ b/include/sway/server.h | |||
@@ -8,12 +8,12 @@ | |||
8 | #include <wlr/types/wlr_compositor.h> | 8 | #include <wlr/types/wlr_compositor.h> |
9 | #include <wlr/types/wlr_data_device.h> | 9 | #include <wlr/types/wlr_data_device.h> |
10 | #include <wlr/types/wlr_layer_shell_v1.h> | 10 | #include <wlr/types/wlr_layer_shell_v1.h> |
11 | #include <wlr/types/wlr_presentation_time.h> | ||
11 | #include <wlr/types/wlr_server_decoration.h> | 12 | #include <wlr/types/wlr_server_decoration.h> |
12 | #include <wlr/types/wlr_xdg_shell_v6.h> | 13 | #include <wlr/types/wlr_xdg_shell_v6.h> |
13 | #include <wlr/types/wlr_xdg_shell.h> | 14 | #include <wlr/types/wlr_xdg_shell.h> |
14 | // TODO WLR: make Xwayland optional | ||
15 | #include "list.h" | ||
16 | #include "config.h" | 15 | #include "config.h" |
16 | #include "list.h" | ||
17 | #ifdef HAVE_XWAYLAND | 17 | #ifdef HAVE_XWAYLAND |
18 | #include "sway/xwayland.h" | 18 | #include "sway/xwayland.h" |
19 | #endif | 19 | #endif |
@@ -58,6 +58,8 @@ struct sway_server { | |||
58 | struct wl_listener xdg_decoration; | 58 | struct wl_listener xdg_decoration; |
59 | struct wl_list xdg_decorations; // sway_xdg_decoration::link | 59 | struct wl_list xdg_decorations; // sway_xdg_decoration::link |
60 | 60 | ||
61 | struct wlr_presentation *presentation; | ||
62 | |||
61 | size_t txn_timeout_ms; | 63 | size_t txn_timeout_ms; |
62 | list_t *transactions; | 64 | list_t *transactions; |
63 | list_t *dirty_nodes; | 65 | list_t *dirty_nodes; |