aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorRonan Pigott <rpigott@berkeley.edu>2021-10-29 00:51:44 +0000
committerRonan Pigott <rpigott@berkeley.edu>2021-11-01 01:52:29 +0000
commit99d5bf64bca5daa70e3e8c5a4d63a257ba7e6fb8 (patch)
tree06732af5a350d8b4e8b71ba9b7ed5eef5b6115da /wayland.h
parentconfig: format all (well, most) error messages in the same way (diff)
foot/client: implement xdga client activation
This is an application of the xdg activation protocol that will allow compositors to associate new foot toplevels with the command that launched them. footclient receives an activation token from the launcher which the compositor can use to track application startup. It passes the token to the foot server, which then activates the new window with the token to complete the startup sequence.
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wayland.h b/wayland.h
index b92f622d..0fffc0a7 100644
--- a/wayland.h
+++ b/wayland.h
@@ -492,7 +492,7 @@ bool wayl_reload_xcursor_theme(struct seat *seat, int new_scale);
void wayl_flush(struct wayland *wayl);
void wayl_roundtrip(struct wayland *wayl);
-struct wl_window *wayl_win_init(struct terminal *term);
+struct wl_window *wayl_win_init(struct terminal *term, const char *token);
void wayl_win_destroy(struct wl_window *win);
bool wayl_win_set_urgent(struct wl_window *win);