From 32377afed91ce3a3e98d73fd73a9e439633da457 Mon Sep 17 00:00:00 2001 From: Window Maker Date: Sun, 24 May 2026 11:04:33 +0200 Subject: [PATCH] =?UTF-8?q?wings:=20rename=20wcolorpanel.c=20=E2=86=92=20w?= =?UTF-8?q?colorpanel=5Fx11.c?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The color picker dialog uses XGetImage / XGrabPointer / XShape / XPutImage / XCopyArea to implement the magnify-glass screen picker. Wayland intentionally does not allow reading pixels from other windows (security), so the screen-pick feature has no Wayland equivalent. The whole file is therefore X11-only. A future commit will provide a stub that returns a wwarning when WMShowColorPanel is called in Wayland mode. --- WINGs/Makefile.am | 2 +- WINGs/{wcolorpanel.c => wcolorpanel_x11.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename WINGs/{wcolorpanel.c => wcolorpanel_x11.c} (100%) diff --git a/WINGs/Makefile.am b/WINGs/Makefile.am index 96f6d79..7d7b497 100644 --- a/WINGs/Makefile.am +++ b/WINGs/Makefile.am @@ -41,7 +41,7 @@ libWINGs_la_SOURCES = \ wcolor.c \ wcolor_x11.c \ wcolor_wl.c \ - wcolorpanel.c \ + wcolorpanel_x11.c \ wcolorwell.c \ wconfig.h \ wevent.c \ diff --git a/WINGs/wcolorpanel.c b/WINGs/wcolorpanel_x11.c similarity index 100% rename from WINGs/wcolorpanel.c rename to WINGs/wcolorpanel_x11.c