mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +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;
|
||||
}
|
||||
|
||||
Bool wNETWMCheckClientHintChange(WWindow * wwin, XPropertyEvent * event)
|
||||
void wNETWMCheckClientHintChange(WWindow *wwin, XPropertyEvent *event)
|
||||
{
|
||||
Bool ret = True;
|
||||
|
||||
#ifdef DEBUG_WMSPEC
|
||||
wmessage("clientHintChange type %s\n", XGetAtomName(dpy, event->atom));
|
||||
#endif
|
||||
@@ -1485,11 +1483,7 @@ Bool wNETWMCheckClientHintChange(WWindow * wwin, XPropertyEvent * event)
|
||||
}
|
||||
} else if (event->atom == net_wm_icon) {
|
||||
updateIconImage(wwin);
|
||||
} else {
|
||||
ret = False;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
int wNETWMGetPidForWindow(Window window)
|
||||
|
||||
Reference in New Issue
Block a user