mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 13:28:05 +01:00
Remove unused stuff from session.h
The struct WSessionData is not used and the function wSessionGetStateFor is only defined, remove them.
This commit is contained in:
committed by
Carlos R. Mafra
parent
46183e8215
commit
8edb9dad81
@@ -22,27 +22,8 @@
|
|||||||
#ifndef WMSESSION_H_
|
#ifndef WMSESSION_H_
|
||||||
#define WMSESSION_H_
|
#define WMSESSION_H_
|
||||||
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
int x;
|
|
||||||
int y;
|
|
||||||
unsigned int w; /* client size */
|
|
||||||
unsigned int h;
|
|
||||||
|
|
||||||
int workspace;
|
|
||||||
unsigned shortcuts; /* mask like 1<<shortcut_number */
|
|
||||||
|
|
||||||
WWindowAttributes mflags;
|
|
||||||
WWindowAttributes flags;
|
|
||||||
|
|
||||||
char miniaturized;
|
|
||||||
char shaded;
|
|
||||||
char maximized;
|
|
||||||
} WSessionData;
|
|
||||||
|
|
||||||
void wSessionSaveState(WScreen *scr);
|
void wSessionSaveState(WScreen *scr);
|
||||||
void wSessionClearState(WScreen *scr);
|
void wSessionClearState(WScreen *scr);
|
||||||
void wSessionRestoreState(WScreen *scr);
|
void wSessionRestoreState(WScreen *scr);
|
||||||
void wSessionRestoreLastWorkspace(WScreen *scr);
|
void wSessionRestoreLastWorkspace(WScreen *scr);
|
||||||
Bool wSessionGetStateFor(WWindow *wwin, WSessionData *state);
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user