mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
wNETWMCheckClientHintChange should be void
The function wNETWMCheckClientHintChange returns a Bool, but this value is never used, son can be removed. This function now is void. kix@osaka:~/src/wmaker/wmaker-crm-tosnd/src$ grep wNETWMCheckClientHintChange *.[ch] client.c: wNETWMCheckClientHintChange(wwin, event); wmspec.c:Bool wNETWMCheckClientHintChange(WWindow * wwin, XPropertyEvent * event) wmspec.h:Bool wNETWMCheckClientHintChange(WWindow *wwin, XPropertyEvent *event);
This commit is contained in:
committed by
Carlos R. Mafra
parent
027a720c17
commit
8b6f884d36
@@ -1457,10 +1457,8 @@ Bool wNETWMProcessClientMessage(XClientMessageEvent * event)
|
|||||||
return done;
|
return done;
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool wNETWMCheckClientHintChange(WWindow * wwin, XPropertyEvent * event)
|
void wNETWMCheckClientHintChange(WWindow *wwin, XPropertyEvent *event)
|
||||||
{
|
{
|
||||||
Bool ret = True;
|
|
||||||
|
|
||||||
#ifdef DEBUG_WMSPEC
|
#ifdef DEBUG_WMSPEC
|
||||||
wmessage("clientHintChange type %s\n", XGetAtomName(dpy, event->atom));
|
wmessage("clientHintChange type %s\n", XGetAtomName(dpy, event->atom));
|
||||||
#endif
|
#endif
|
||||||
@@ -1485,11 +1483,7 @@ Bool wNETWMCheckClientHintChange(WWindow * wwin, XPropertyEvent * event)
|
|||||||
}
|
}
|
||||||
} else if (event->atom == net_wm_icon) {
|
} else if (event->atom == net_wm_icon) {
|
||||||
updateIconImage(wwin);
|
updateIconImage(wwin);
|
||||||
} else {
|
|
||||||
ret = False;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int wNETWMGetPidForWindow(Window window)
|
int wNETWMGetPidForWindow(Window window)
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ Bool wNETWMGetUsableArea(WScreen *scr, int head, WArea *area);
|
|||||||
void wNETWMCheckInitialClientState(WWindow *wwin);
|
void wNETWMCheckInitialClientState(WWindow *wwin);
|
||||||
Bool wNETWMProcessClientMessage(XClientMessageEvent *event);
|
Bool wNETWMProcessClientMessage(XClientMessageEvent *event);
|
||||||
void wNETWMCheckClientHints(WWindow *wwin, int *layer, int *workspace);
|
void wNETWMCheckClientHints(WWindow *wwin, int *layer, int *workspace);
|
||||||
Bool wNETWMCheckClientHintChange(WWindow *wwin, XPropertyEvent *event);
|
void wNETWMCheckClientHintChange(WWindow *wwin, XPropertyEvent *event);
|
||||||
void wNETWMUpdateActions(WWindow *wwin, Bool del);
|
void wNETWMUpdateActions(WWindow *wwin, Bool del);
|
||||||
void wNETWMUpdateDesktop(WScreen *scr);
|
void wNETWMUpdateDesktop(WScreen *scr);
|
||||||
void wNETWMPositionSplash(WWindow *wwin, int *x, int *y, int width, int height);
|
void wNETWMPositionSplash(WWindow *wwin, int *x, int *y, int width, int height);
|
||||||
|
|||||||
Reference in New Issue
Block a user