diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-09 17:23:44 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-11-09 17:23:44 +0000 |
| commit | 3e04c4e4f48195134aaf5671b528435fd8801e3c (patch) | |
| tree | d64d2a80eca91f7b740f990b2bd6b80967e517e7 | |
| parent | PKGBUILD: drop (diff) | |
wayland: guard XDG startup notification with HAVE_XDG_ACTIVATION
Fixes compilation on systems with “too old” wayland-protocols
| -rw-r--r-- | wayland.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1448,9 +1448,11 @@ wayl_win_init(struct terminal *term, const char *token) wl_surface_commit(win->surface); +#if defined(HAVE_XDG_ACTIVATION) /* Complete XDG startup notification */ if (token) xdg_activation_v1_activate(wayl->xdg_activation, token, win->surface); +#endif if (conf->tweak.render_timer_osd) { if (!wayl_win_subsurface_new(win, &win->render_timer)) { |
