summaryrefslogtreecommitdiff
path: root/src/wayland/meta-wayland.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2020-10-09 16:23:32 +0200
committerMarge Bot <marge-bot@gnome.org>2021-07-09 09:34:28 +0000
commitec390b68c5b80d9a95312c2166f35f321d254991 (patch)
tree74bf9a4f9ff21d0fa736ac91550aff699c9b851f /src/wayland/meta-wayland.c
parent665081d268d8f64e66ee891f6f32ab2b084c8de7 (diff)
downloadmutter-ec390b68c5b80d9a95312c2166f35f321d254991.tar.gz
wayland: Implement the xdg-activation protocol
This protocol implements the IPC necessary to focus application windows across launcher/launchee. Add support for it. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1845>
Diffstat (limited to 'src/wayland/meta-wayland.c')
-rw-r--r--src/wayland/meta-wayland.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wayland/meta-wayland.c b/src/wayland/meta-wayland.c
index 4febb7d06..d96b60fe2 100644
--- a/src/wayland/meta-wayland.c
+++ b/src/wayland/meta-wayland.c
@@ -32,6 +32,7 @@
#include "cogl/cogl-egl.h"
#include "compositor/meta-surface-actor-wayland.h"
#include "core/main-private.h"
+#include "wayland/meta-wayland-activation.h"
#include "wayland/meta-wayland-buffer.h"
#include "wayland/meta-wayland-data-device.h"
#include "wayland/meta-wayland-dma-buf.h"
@@ -542,6 +543,7 @@ meta_wayland_compositor_setup (MetaWaylandCompositor *compositor)
meta_wayland_text_input_init (compositor);
meta_wayland_gtk_text_input_init (compositor);
meta_wayland_init_presentation_time (compositor);
+ meta_wayland_activation_init (compositor);
/* Xwayland specific protocol, needs to be filtered out for all other clients */
if (meta_xwayland_grab_keyboard_init (compositor))