aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/server.h
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2021-03-23 11:31:18 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2021-06-02 19:39:40 +0200
commit9755684fb0fd665a65be2a3cbabc5d502244c459 (patch)
tree7fbe0b1149314b9d902d328c74bbc7cba6c05004 /include/sway/server.h
parentdetails-gackground typo fix (diff)
downloadsway-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/server.h')
-rw-r--r--include/sway/server.h5
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);
141void handle_server_decoration(struct wl_listener *listener, void *data); 144void handle_server_decoration(struct wl_listener *listener, void *data);
142void handle_xdg_decoration(struct wl_listener *listener, void *data); 145void handle_xdg_decoration(struct wl_listener *listener, void *data);
143void handle_pointer_constraint(struct wl_listener *listener, void *data); 146void handle_pointer_constraint(struct wl_listener *listener, void *data);
147void xdg_activation_v1_handle_request_activate(struct wl_listener *listener,
148 void *data);
144 149
145#endif 150#endif