On Mon, 19 May 2014 at  8:53:25 -0500, Doug Torrance wrote:
> 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.

Thanks a lot Doug!

> --- 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);
>  

Btw, nowadays with widescreens I think we can be a bit more relaxed about
the line length. I changed this to fit in one line of 90 characters.


-- 
To unsubscribe, send mail to [email protected].

Reply via email to