diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-03 11:58:55 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-11-03 11:58:55 +0000 |
| commit | 347b90eaaea79863611f3fd405611e482ed3196d (patch) | |
| tree | 06732af5a350d8b4e8b71ba9b7ed5eef5b6115da /wayland.c | |
| parent | config: format all (well, most) error messages in the same way (diff) | |
| parent | foot/client: implement xdga client activation (diff) | |
Merge branch 'xdga-launch'
Diffstat (limited to 'wayland.c')
| -rw-r--r-- | wayland.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1374,7 +1374,7 @@ wayl_destroy(struct wayland *wayl) } struct wl_window * -wayl_win_init(struct terminal *term) +wayl_win_init(struct terminal *term, const char *token) { struct wayland *wayl = term->wl; const struct config *conf = term->conf; @@ -1444,6 +1444,10 @@ wayl_win_init(struct terminal *term) wl_surface_commit(win->surface); + /* Complete XDG startup notification */ + if (token) + xdg_activation_v1_activate(wayl->xdg_activation, token, win->surface); + if (conf->tweak.render_timer_osd) { if (!wayl_win_subsurface_new(win, &win->render_timer)) { LOG_ERR("failed to create render timer surface"); |
