From 3172eaf2dfa1c00739b15c9d8a017762dfb9a82c Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Thu, 28 May 2026 10:20:49 -0400 Subject: wncklet: link against libX11 for window preview thumbnails The window-list preview code uses XGetWindowAttributes and XGetWindowProperty to capture window decorations, but the wncklet Makefile was missing the X11 linker flags, causing a build failure. Fixes #1561 --- applets/wncklet/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/applets/wncklet/Makefile.am b/applets/wncklet/Makefile.am index a59b1192..2acab8d0 100644 --- a/applets/wncklet/Makefile.am +++ b/applets/wncklet/Makefile.am @@ -36,6 +36,11 @@ WNCKLET_LDADD = \ $(WNCKLET_LIBS) \ $(LIBMATE_PANEL_APPLET_LIBS) +if ENABLE_X11 +WNCKLET_LDADD += \ + $(X_LIBS) +endif + if ENABLE_WAYLAND WNCKLET_SOURCES += \ wayland-backend.c \ -- cgit v1.2.1