mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
wNETWMShowingDesktop is now static
The function wNETWMShowingDesktop is only used at wmspec.c, so can be static.
This commit is contained in:
committed by
Carlos R. Mafra
parent
404e4a7a03
commit
235114993d
@@ -229,6 +229,7 @@ static void updateClientListStacking(WScreen * scr, WWindow *);
|
|||||||
static void updateWorkspaceNames(WScreen * scr);
|
static void updateWorkspaceNames(WScreen * scr);
|
||||||
static void updateCurrentWorkspace(WScreen * scr);
|
static void updateCurrentWorkspace(WScreen * scr);
|
||||||
static void updateWorkspaceCount(WScreen * scr);
|
static void updateWorkspaceCount(WScreen * scr);
|
||||||
|
static void wNETWMShowingDesktop(WScreen *scr, Bool show);
|
||||||
|
|
||||||
typedef struct NetData {
|
typedef struct NetData {
|
||||||
WScreen *scr;
|
WScreen *scr;
|
||||||
@@ -486,7 +487,7 @@ static void updateShowDesktop(WScreen * scr, Bool show)
|
|||||||
PropModeReplace, (unsigned char *)&foo, 1);
|
PropModeReplace, (unsigned char *)&foo, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wNETWMShowingDesktop(WScreen * scr, Bool show)
|
static void wNETWMShowingDesktop(WScreen *scr, Bool show)
|
||||||
{
|
{
|
||||||
if (show && scr->netdata->show_desktop == NULL) {
|
if (show && scr->netdata->show_desktop == NULL) {
|
||||||
WWindow *tmp, **wins;
|
WWindow *tmp, **wins;
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ Bool wNETWMCheckInitialClientState(WWindow *wwin);
|
|||||||
Bool wNETWMProcessClientMessage(XClientMessageEvent *event);
|
Bool wNETWMProcessClientMessage(XClientMessageEvent *event);
|
||||||
Bool wNETWMCheckClientHints(WWindow *wwin, int *layer, int *workspace);
|
Bool wNETWMCheckClientHints(WWindow *wwin, int *layer, int *workspace);
|
||||||
Bool wNETWMCheckClientHintChange(WWindow *wwin, XPropertyEvent *event);
|
Bool wNETWMCheckClientHintChange(WWindow *wwin, XPropertyEvent *event);
|
||||||
void wNETWMShowingDesktop(WScreen *scr, Bool show);
|
|
||||||
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