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
@@ -286,7 +286,7 @@ static void saveSessionCommand(WMenu * menu, WMenuEntry * entry)
|
||||
|
||||
static void clearSessionCommand(WMenu *menu, WMenuEntry *entry)
|
||||
{
|
||||
wSessionClearState(menu->frame->screen_ptr);
|
||||
wSessionClearState();
|
||||
wScreenSaveState(menu->frame->screen_ptr);
|
||||
}
|
||||
|
||||
|
||||
@@ -324,7 +324,7 @@ void wSessionSaveState(WScreen * scr)
|
||||
WMFreeArray(wapp_list);
|
||||
}
|
||||
|
||||
void wSessionClearState(WScreen * scr)
|
||||
void wSessionClearState(void)
|
||||
{
|
||||
make_keys();
|
||||
|
||||
@@ -369,7 +369,7 @@ static pid_t execCommand(WScreen *scr, char *command)
|
||||
return pid;
|
||||
}
|
||||
|
||||
static WSavedState *getWindowState(WScreen * scr, WMPropList * win_state)
|
||||
static WSavedState *getWindowState(WMPropList *win_state)
|
||||
{
|
||||
WSavedState *state = wmalloc(sizeof(WSavedState));
|
||||
WMPropList *value;
|
||||
@@ -461,7 +461,7 @@ void wSessionRestoreState(WScreen *scr)
|
||||
if (!instance && !class)
|
||||
continue;
|
||||
|
||||
state = getWindowState(scr, win_info);
|
||||
state = getWindowState(win_info);
|
||||
|
||||
dock = NULL;
|
||||
value = WMGetFromPLDictionary(win_info, sDock);
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#define WMSESSION_H_
|
||||
|
||||
void wSessionSaveState(WScreen *scr);
|
||||
void wSessionClearState(WScreen *scr);
|
||||
void wSessionClearState(void);
|
||||
void wSessionRestoreState(WScreen *scr);
|
||||
void wSessionRestoreLastWorkspace(WScreen *scr);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user