mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-29 19:55:49 +01:00
Updated/fixed version of colorpanel
This commit is contained in:
@@ -955,7 +955,7 @@ void WMShowColorPanel(WMColorPanel *panel);
|
|||||||
|
|
||||||
void WMCloseColorPanel(WMColorPanel *panel);
|
void WMCloseColorPanel(WMColorPanel *panel);
|
||||||
|
|
||||||
void WMSetColorPanelColor(WMColorPanel *panel, RColor color);
|
void WMSetColorPanelColor(WMColorPanel *panel, WMColor *color);
|
||||||
|
|
||||||
RColor WMGetColorPanelColor(WMColorPanel *panel);
|
RColor WMGetColorPanelColor(WMColorPanel *panel);
|
||||||
|
|
||||||
|
|||||||
5428
WINGs/wcolorpanel.c
5428
WINGs/wcolorpanel.c
File diff suppressed because it is too large
Load Diff
@@ -424,13 +424,11 @@ handleActionEvents(XEvent *event, void *data)
|
|||||||
if (cPtr->flags.active) {
|
if (cPtr->flags.active) {
|
||||||
WMPostNotificationName(_ColorWellActivatedNotification, cPtr, NULL);
|
WMPostNotificationName(_ColorWellActivatedNotification, cPtr, NULL);
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
cpanel = WMGetColorPanel(scr);
|
cpanel = WMGetColorPanel(scr);
|
||||||
if (cPtr->color)
|
if (cPtr->color)
|
||||||
WMSetColorPanelColor(cpanel, cPtr->color);
|
WMSetColorPanelColor(cpanel, cPtr->color);
|
||||||
WMShowColorPanel(cpanel);
|
WMShowColorPanel(cpanel);
|
||||||
*
|
/*
|
||||||
*/
|
|
||||||
{
|
{
|
||||||
char *t;
|
char *t;
|
||||||
WMColor *color;
|
WMColor *color;
|
||||||
@@ -451,6 +449,7 @@ handleActionEvents(XEvent *event, void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user