diff options
Diffstat (limited to 'src/Ewmh.hh')
-rw-r--r-- | src/Ewmh.hh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/Ewmh.hh b/src/Ewmh.hh index 8652c6b..f917390 100644 --- a/src/Ewmh.hh +++ b/src/Ewmh.hh | |||
@@ -60,20 +60,10 @@ public: | |||
60 | void updateFrameClose(FluxboxWindow &win); | 60 | void updateFrameClose(FluxboxWindow &win); |
61 | 61 | ||
62 | void updateClientClose(WinClient &winclient); | 62 | void updateClientClose(WinClient &winclient); |
63 | |||
64 | |||
65 | void setFullscreen(FluxboxWindow &win, bool value); | ||
66 | 63 | ||
67 | void updateFrameExtents(FluxboxWindow &win); | 64 | void updateFrameExtents(FluxboxWindow &win); |
68 | private: | 65 | private: |
69 | 66 | ||
70 | typedef struct WindowState { | ||
71 | WindowState(int x, int y, unsigned int width, unsigned int height, | ||
72 | int layer, unsigned int decor); | ||
73 | int x, y, layer; | ||
74 | unsigned int width, height, decor; | ||
75 | } WindowState; | ||
76 | |||
77 | enum { STATE_REMOVE = 0, STATE_ADD = 1, STATE_TOGGLE = 2}; | 67 | enum { STATE_REMOVE = 0, STATE_ADD = 1, STATE_TOGGLE = 2}; |
78 | 68 | ||
79 | void setState(FluxboxWindow &win, Atom state, bool value); | 69 | void setState(FluxboxWindow &win, Atom state, bool value); |
@@ -153,12 +143,6 @@ private: | |||
153 | Atom utf8_string; | 143 | Atom utf8_string; |
154 | 144 | ||
155 | std::vector<Window> m_windows; | 145 | std::vector<Window> m_windows; |
156 | typedef std::map<FluxboxWindow *, WindowState *> SavedState; | ||
157 | SavedState m_savedstate; | ||
158 | |||
159 | WindowState *getState(FluxboxWindow &win); | ||
160 | void clearState(FluxboxWindow &win); | ||
161 | void saveState(FluxboxWindow &win, WindowState *state); | ||
162 | 146 | ||
163 | FbTk::FbString getUTF8Property(Atom property); | 147 | FbTk::FbString getUTF8Property(Atom property); |
164 | }; | 148 | }; |