The color well contains two views: view, consisting of the outer "button", and
colorView, consisting of the color itself. Previously, only clicking on view
would bring up the corresponding color panel, resulting in nonintuitive
behavior.
---
WINGs/wcolorwell.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/WINGs/wcolorwell.c b/WINGs/wcolorwell.c
index ace85cd..01e2be7 100644
--- a/WINGs/wcolorwell.c
+++ b/WINGs/wcolorwell.c
@@ -151,6 +151,8 @@ WMColorWell *WMCreateColorWell(WMWidget * parent)
WMCreateDragHandler(cPtr->colorView, handleDragEvents, cPtr);
WMCreateEventHandler(cPtr->view, ButtonPressMask, handleActionEvents,
cPtr);
+ WMCreateEventHandler(cPtr->colorView,
+ ButtonPressMask, handleActionEvents, cPtr);
cPtr->colorView->flags.mapWhenRealized = 1;
--
1.9.1
--
To unsubscribe, send mail to [email protected].