mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-05 15:55:56 +01:00
Fixed crashing bugs in color panel, and a bug in wprefs.app
This commit is contained in:
@@ -2110,7 +2110,7 @@ wheelHandleActionEvents(XEvent *event, void *data)
|
||||
panel->flags.dragging = 0;
|
||||
if (!panel->flags.continuous) {
|
||||
if (panel->action)
|
||||
(*panel->action)(panel->action, panel->clientData);
|
||||
(*panel->action)(panel, panel->clientData);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -2946,7 +2946,7 @@ customPaletteHandleActionEvents(XEvent *event, void *data)
|
||||
panel->flags.dragging = 0;
|
||||
if (!panel->flags.continuous) {
|
||||
if (panel->action)
|
||||
(*panel->action)(panel->action, panel->clientData);
|
||||
(*panel->action)(panel, panel->clientData);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user