diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-25 15:31:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-25 15:31:47 +0200 |
commit | ea2497d35cc1a7357d69b8e09ce0104c82a7be39 (patch) | |
tree | e3f26e6347f9cdc96b551b3a8157ec54aa7aefed /include | |
parent | Merge pull request #2971 from RyanDwyer/document-output-identifiers (diff) | |
parent | Implement the presentation-time protocol (diff) | |
download | sway-ea2497d35cc1a7357d69b8e09ce0104c82a7be39.tar.gz sway-ea2497d35cc1a7357d69b8e09ce0104c82a7be39.tar.zst sway-ea2497d35cc1a7357d69b8e09ce0104c82a7be39.zip |
Merge pull request #2950 from emersion/presentation-time
Implement the presentation-time protocol
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/output.h | 1 | ||||
-rw-r--r-- | include/sway/server.h | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index 19a61175..369e62ce 100644 --- a/include/sway/output.h +++ b/include/sway/output.h | |||
@@ -40,6 +40,7 @@ struct sway_output { | |||
40 | struct wl_listener mode; | 40 | struct wl_listener mode; |
41 | struct wl_listener transform; | 41 | struct wl_listener transform; |
42 | struct wl_listener scale; | 42 | struct wl_listener scale; |
43 | struct wl_listener present; | ||
43 | struct wl_listener damage_destroy; | 44 | struct wl_listener damage_destroy; |
44 | struct wl_listener damage_frame; | 45 | struct wl_listener damage_frame; |
45 | 46 | ||
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; |