diff options
author | Simon Ser <contact@emersion.fr> | 2021-03-23 11:31:18 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-06-02 19:39:40 +0200 |
commit | 9755684fb0fd665a65be2a3cbabc5d502244c459 (patch) | |
tree | 7fbe0b1149314b9d902d328c74bbc7cba6c05004 /include/sway | |
parent | details-gackground typo fix (diff) | |
download | sway-9755684fb0fd665a65be2a3cbabc5d502244c459.tar.gz sway-9755684fb0fd665a65be2a3cbabc5d502244c459.tar.zst sway-9755684fb0fd665a65be2a3cbabc5d502244c459.zip |
Implement xdg-activation-v1
See https://github.com/swaywm/wlroots/pull/2718.
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/server.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index 5a2562b3..3a5670d9 100644 --- a/include/sway/server.h +++ b/include/sway/server.h | |||
@@ -87,6 +87,9 @@ struct sway_server { | |||
87 | struct wlr_text_input_manager_v3 *text_input; | 87 | struct wlr_text_input_manager_v3 *text_input; |
88 | struct wlr_foreign_toplevel_manager_v1 *foreign_toplevel_manager; | 88 | struct wlr_foreign_toplevel_manager_v1 *foreign_toplevel_manager; |
89 | 89 | ||
90 | struct wlr_xdg_activation_v1 *xdg_activation_v1; | ||
91 | struct wl_listener xdg_activation_v1_request_activate; | ||
92 | |||
90 | // The timeout for transactions, after which a transaction is applied | 93 | // The timeout for transactions, after which a transaction is applied |
91 | // regardless of readiness. | 94 | // regardless of readiness. |
92 | size_t txn_timeout_ms; | 95 | size_t txn_timeout_ms; |
@@ -141,5 +144,7 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data); | |||
141 | void handle_server_decoration(struct wl_listener *listener, void *data); | 144 | void handle_server_decoration(struct wl_listener *listener, void *data); |
142 | void handle_xdg_decoration(struct wl_listener *listener, void *data); | 145 | void handle_xdg_decoration(struct wl_listener *listener, void *data); |
143 | void handle_pointer_constraint(struct wl_listener *listener, void *data); | 146 | void handle_pointer_constraint(struct wl_listener *listener, void *data); |
147 | void xdg_activation_v1_handle_request_activate(struct wl_listener *listener, | ||
148 | void *data); | ||
144 | 149 | ||
145 | #endif | 150 | #endif |