mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
Removed WScreen argument
The argument WScreen is removed in the functions wSessionClearState() and getWindowState() Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
This commit is contained in:
committed by
Carlos R. Mafra
parent
40e1ea08b8
commit
6987d4aa40
@@ -284,9 +284,9 @@ static void saveSessionCommand(WMenu * menu, WMenuEntry * entry)
|
|||||||
wScreenSaveState(menu->frame->screen_ptr);
|
wScreenSaveState(menu->frame->screen_ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void clearSessionCommand(WMenu * menu, WMenuEntry * entry)
|
static void clearSessionCommand(WMenu *menu, WMenuEntry *entry)
|
||||||
{
|
{
|
||||||
wSessionClearState(menu->frame->screen_ptr);
|
wSessionClearState();
|
||||||
wScreenSaveState(menu->frame->screen_ptr);
|
wScreenSaveState(menu->frame->screen_ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -324,7 +324,7 @@ void wSessionSaveState(WScreen * scr)
|
|||||||
WMFreeArray(wapp_list);
|
WMFreeArray(wapp_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wSessionClearState(WScreen * scr)
|
void wSessionClearState(void)
|
||||||
{
|
{
|
||||||
make_keys();
|
make_keys();
|
||||||
|
|
||||||
@@ -369,7 +369,7 @@ static pid_t execCommand(WScreen *scr, char *command)
|
|||||||
return pid;
|
return pid;
|
||||||
}
|
}
|
||||||
|
|
||||||
static WSavedState *getWindowState(WScreen * scr, WMPropList * win_state)
|
static WSavedState *getWindowState(WMPropList *win_state)
|
||||||
{
|
{
|
||||||
WSavedState *state = wmalloc(sizeof(WSavedState));
|
WSavedState *state = wmalloc(sizeof(WSavedState));
|
||||||
WMPropList *value;
|
WMPropList *value;
|
||||||
@@ -461,7 +461,7 @@ void wSessionRestoreState(WScreen *scr)
|
|||||||
if (!instance && !class)
|
if (!instance && !class)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
state = getWindowState(scr, win_info);
|
state = getWindowState(win_info);
|
||||||
|
|
||||||
dock = NULL;
|
dock = NULL;
|
||||||
value = WMGetFromPLDictionary(win_info, sDock);
|
value = WMGetFromPLDictionary(win_info, sDock);
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
#define WMSESSION_H_
|
#define WMSESSION_H_
|
||||||
|
|
||||||
void wSessionSaveState(WScreen *scr);
|
void wSessionSaveState(WScreen *scr);
|
||||||
void wSessionClearState(WScreen *scr);
|
void wSessionClearState(void);
|
||||||
void wSessionRestoreState(WScreen *scr);
|
void wSessionRestoreState(WScreen *scr);
|
||||||
void wSessionRestoreLastWorkspace(WScreen *scr);
|
void wSessionRestoreLastWorkspace(WScreen *scr);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user