From d68c23bd8e07612f305dcc7825f3a8ee448544f5 Mon Sep 17 00:00:00 2001 From: "mark.herbert" Date: Fri, 18 Jul 2025 11:42:38 +0300 Subject: Wayland-only-build attempt 3 - changes from other branch removed --- applets/wncklet/window-list.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'applets/wncklet/window-list.c') diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c index 3af47e64..c027e3f5 100644 --- a/applets/wncklet/window-list.c +++ b/applets/wncklet/window-list.c @@ -25,6 +25,11 @@ #include #endif /* HAVE_X11 */ +#ifndef HAVE_X11 +#include +#define GDK_IS_X11_DISPLAY(object) !(G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WAYLAND_DISPLAY)) +#endif + #ifdef HAVE_WAYLAND #include #include "wayland-backend.h" -- cgit v1.2.1