diff --git a/data/dbus-interfaces/org.gnome.Mutter.ServiceChannel.xml b/data/dbus-interfaces/org.gnome.Mutter.ServiceChannel.xml index 1c105cd35..97c3b872b 100644 --- a/data/dbus-interfaces/org.gnome.Mutter.ServiceChannel.xml +++ b/data/dbus-interfaces/org.gnome.Mutter.ServiceChannel.xml @@ -9,6 +9,7 @@ ServiceClientTypes: PORTAL_BACKEND: 1 FILECHOOSER_PORTAL_BACKEND: 2 + GLOBAL_SHORTCUTS_PORTAL_BACKEND: 3 --> diff --git a/src/core/meta-service-channel.c b/src/core/meta-service-channel.c index 8211546b7..e12cb88f4 100644 --- a/src/core/meta-service-channel.c +++ b/src/core/meta-service-channel.c @@ -99,6 +99,7 @@ verify_service_client_type (uint32_t service_client_type) return FALSE; case META_SERVICE_CLIENT_TYPE_PORTAL_BACKEND: case META_SERVICE_CLIENT_TYPE_FILECHOOSER_PORTAL_BACKEND: + case META_SERVICE_CLIENT_TYPE_GLOBAL_SHORTCUTS_PORTAL_BACKEND: return TRUE; } diff --git a/src/core/meta-service-channel.h b/src/core/meta-service-channel.h index cee31add3..cb51b78a3 100644 --- a/src/core/meta-service-channel.h +++ b/src/core/meta-service-channel.h @@ -31,6 +31,7 @@ typedef enum _MetaServiceClientType META_SERVICE_CLIENT_TYPE_NONE, META_SERVICE_CLIENT_TYPE_PORTAL_BACKEND, META_SERVICE_CLIENT_TYPE_FILECHOOSER_PORTAL_BACKEND, + META_SERVICE_CLIENT_TYPE_GLOBAL_SHORTCUTS_PORTAL_BACKEND, } MetaServiceClientType; #define META_TYPE_SERVICE_CHANNEL (meta_service_channel_get_type ()) diff --git a/src/wayland/meta-wayland-x11-interop.c b/src/wayland/meta-wayland-x11-interop.c index cd91c6f66..312a63fd0 100644 --- a/src/wayland/meta-wayland-x11-interop.c +++ b/src/wayland/meta-wayland-x11-interop.c @@ -99,6 +99,7 @@ x11_interop_filter (const struct wl_client *client, MetaServiceClientType allowed_client_types[] = { META_SERVICE_CLIENT_TYPE_PORTAL_BACKEND, META_SERVICE_CLIENT_TYPE_FILECHOOSER_PORTAL_BACKEND, + META_SERVICE_CLIENT_TYPE_GLOBAL_SHORTCUTS_PORTAL_BACKEND, }; size_t i;