>From 9bc9826d68a774f61e7931a7daf14a257af81bb0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20(kix)"?= <[email protected]>
Date: Mon, 25 Jun 2012 23:39:57 +0200
Subject: [PATCH 11/11] session.h clean
the struct WSessionData is not used, and the function wSessionGetStateFor
is only defined.
---
src/session.h | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/src/session.h b/src/session.h
index 8ce14b4..4a7b9b4 100644
--- a/src/session.h
+++ b/src/session.h
@@ -22,27 +22,8 @@
#ifndef 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 wSessionClearState(WScreen *scr);
void wSessionRestoreState(WScreen *scr);
void wSessionRestoreLastWorkspace(WScreen *scr);
-Bool wSessionGetStateFor(WWindow *wwin, WSessionData *state);
#endif
--
1.7.10
--
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/
>From 9bc9826d68a774f61e7931a7daf14a257af81bb0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20(kix)"?= <[email protected]>
Date: Mon, 25 Jun 2012 23:39:57 +0200
Subject: [PATCH 11/11] session.h clean
the struct WSessionData is not used, and the function wSessionGetStateFor
is only defined.
---
src/session.h | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/src/session.h b/src/session.h
index 8ce14b4..4a7b9b4 100644
--- a/src/session.h
+++ b/src/session.h
@@ -22,27 +22,8 @@
#ifndef 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 wSessionClearState(WScreen *scr);
void wSessionRestoreState(WScreen *scr);
void wSessionRestoreLastWorkspace(WScreen *scr);
-Bool wSessionGetStateFor(WWindow *wwin, WSessionData *state);
#endif
--
1.7.10