summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2026-05-28 10:20:49 -0400
committerVictor Kareh <[email protected]>2026-05-28 10:45:16 -0400
commit3172eaf2dfa1c00739b15c9d8a017762dfb9a82c (patch)
tree98c376403ad0d4d718c98fb51f04667f218c763e
parenta91599c79100e9cf8d72b7389c84f8b86d83949c (diff)
downloadmate-panel-master.tar.bz2
mate-panel-master.tar.xz
wncklet: link against libX11 for window preview thumbnailsHEADmaster
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
-rw-r--r--applets/wncklet/Makefile.am5
1 files changed, 5 insertions, 0 deletions
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 \