mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-06-30 23:46:35 +00:00
externalwindow-wayland: Use our own service channel client id
This private mutter protocol requires each client to have a unique hard-coded enum id. Requires mutter patch to add this enum value on that side.
This commit is contained in:
parent
c34f16cf49
commit
944a0a8b4f
|
@ -38,6 +38,7 @@ typedef enum _ServiceClientType
|
|||
{
|
||||
SERVICE_CLIENT_TYPE_NONE,
|
||||
SERVICE_CLIENT_TYPE_PORTAL_BACKEND,
|
||||
SERVICE_CLIENT_TYPE_FILECHOOSER_PORTAL_BACKEND,
|
||||
} ServiceClientType;
|
||||
|
||||
typedef enum _ParentWindowType
|
||||
|
@ -274,7 +275,7 @@ init_external_window_wayland_display (GError **error)
|
|||
|
||||
if (!org_gnome_mutter_service_channel_call_open_wayland_service_connection_sync (
|
||||
proxy,
|
||||
SERVICE_CLIENT_TYPE_PORTAL_BACKEND,
|
||||
SERVICE_CLIENT_TYPE_FILECHOOSER_PORTAL_BACKEND,
|
||||
NULL,
|
||||
&fd_variant,
|
||||
&fd_list,
|
||||
|
|
Loading…
Reference in New Issue
Block a user