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 updateCurrentWorkspace(WScreen * scr);
|
||||
static void updateWorkspaceCount(WScreen * scr);
|
||||
static void wNETWMShowingDesktop(WScreen *scr, Bool show);
|
||||
|
||||
typedef struct NetData {
|
||||
WScreen *scr;
|
||||
@@ -486,7 +487,7 @@ static void updateShowDesktop(WScreen * scr, Bool show)
|
||||
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) {
|
||||
WWindow *tmp, **wins;
|
||||
|
||||
Reference in New Issue
Block a user