diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-05-10 16:01:59 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-05-14 11:26:13 +0000 |
| commit | f5f1bc8dd95b319aa7574db139c40c0697025d0b (patch) | |
| tree | ecc35e7c2600345b6af948e294c7eab17f8de2ee | |
| parent | xdg-activation: initial support for setting urgency using XDG activation (diff) | |
wayland: set xdg activation token surface to our top-level
| -rw-r--r-- | wayland.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1589,7 +1589,8 @@ wayl_roundtrip(struct wayland *wayl) } static void -activation_token_done(void *data, struct xdg_activation_token_v1 *xdg_token, const char *token) +activation_token_done(void *data, struct xdg_activation_token_v1 *xdg_token, + const char *token) { struct wl_window *win = data; struct wayland *wayl = win->term->wl; @@ -1627,6 +1628,7 @@ wayl_win_set_urgent(struct wl_window *win) } xdg_activation_token_v1_add_listener(token, &activation_token_listener, win); + xdg_activation_token_v1_set_surface(token, win->surface); xdg_activation_token_v1_commit(token); win->xdg_activation_token = token; return true; |
