1
0
mirror of https://gitlab.gnome.org/GNOME/nautilus synced 2024-06-30 23:46:35 +00:00

externalwindow-wayland: Ignore shadowed variable

`x11_interop` is the symbol of a global variable, but gets reused for
a local one.

We should try to keep this code in sync with xdp-desktop-porta-gnome
so, instead of chaning the symbol, ignore the compiler error.
This commit is contained in:
António Fernandes 2024-04-14 10:14:43 +01:00
parent be9297ca9f
commit c34f16cf49

View File

@ -29,6 +29,8 @@
#include "mutter-x11-interop-client-protocol.h"
#include "shell-dbus.h"
#pragma GCC diagnostic ignored "-Wshadow"
#define WAYLAND_HANDLE_PREFIX "wayland:"
#define X11_HANDLE_PREFIX "x11:"