mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
wNETWMCheckClientHints should be void
The function wNETWMCheckClientHints returns a Boolean, but this value is never used, so can be removed. This patch removes the boolean returned, the variable hasState, and so some parts of the function changes. The patch also moves some variable definition to the same line: one type, one line.
This commit is contained in:
committed by
Carlos R. Mafra
parent
e71f78f4fe
commit
027a720c17
@@ -34,7 +34,7 @@ void wNETWMUpdateWorkarea(WScreen *scr, WArea usableArea);
|
||||
Bool wNETWMGetUsableArea(WScreen *scr, int head, WArea *area);
|
||||
void wNETWMCheckInitialClientState(WWindow *wwin);
|
||||
Bool wNETWMProcessClientMessage(XClientMessageEvent *event);
|
||||
Bool wNETWMCheckClientHints(WWindow *wwin, int *layer, int *workspace);
|
||||
void wNETWMCheckClientHints(WWindow *wwin, int *layer, int *workspace);
|
||||
Bool wNETWMCheckClientHintChange(WWindow *wwin, XPropertyEvent *event);
|
||||
void wNETWMUpdateActions(WWindow *wwin, Bool del);
|
||||
void wNETWMUpdateDesktop(WScreen *scr);
|
||||
|
||||
Reference in New Issue
Block a user