diff options
author | fluxgen <fluxgen> | 2002-02-26 22:35:58 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-02-26 22:35:58 (GMT) |
commit | ddce8511658c7bb0a91962e5c22d2641eb760899 (patch) | |
tree | 87a0be23e87100981cf332452c9bfb71237d62cd /src/Window.hh | |
parent | 6f1a0490c4bdb4e04658205e5339eaa47d238279 (diff) | |
download | fluxbox_pavel-ddce8511658c7bb0a91962e5c22d2641eb760899.zip fluxbox_pavel-ddce8511658c7bb0a91962e5c22d2641eb760899.tar.bz2 |
added gnome layer stuff
Diffstat (limited to 'src/Window.hh')
-rw-r--r-- | src/Window.hh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Window.hh b/src/Window.hh index 584d187..c65fa2f 100644 --- a/src/Window.hh +++ b/src/Window.hh | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Window.hh,v 1.10 2002/02/17 18:47:45 fluxgen Exp $ | 25 | // $Id: Window.hh,v 1.11 2002/02/26 22:35:58 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef WINDOW_HH | 27 | #ifndef WINDOW_HH |
28 | #define WINDOW_HH | 28 | #define WINDOW_HH |
@@ -156,7 +156,7 @@ public: | |||
156 | inline const int &getYClient(void) const { return client.y; } | 156 | inline const int &getYClient(void) const { return client.y; } |
157 | inline const int &getWorkspaceNumber(void) const { return workspace_number; } | 157 | inline const int &getWorkspaceNumber(void) const { return workspace_number; } |
158 | inline const int &getWindowNumber(void) const { return window_number; } | 158 | inline const int &getWindowNumber(void) const { return window_number; } |
159 | 159 | inline const WinLayer getLayer(void) const { return m_layer; } | |
160 | inline const unsigned int &getWidth(void) const { return frame.width; } | 160 | inline const unsigned int &getWidth(void) const { return frame.width; } |
161 | inline const unsigned int &getHeight(void) const { return frame.height; } | 161 | inline const unsigned int &getHeight(void) const { return frame.height; } |
162 | inline const unsigned int &getClientHeight(void) const | 162 | inline const unsigned int &getClientHeight(void) const |
@@ -229,6 +229,7 @@ private: | |||
229 | 229 | ||
230 | int focus_mode, window_number, workspace_number; | 230 | int focus_mode, window_number, workspace_number; |
231 | unsigned long current_state; | 231 | unsigned long current_state; |
232 | WinLayer m_layer; | ||
232 | 233 | ||
233 | struct _client { | 234 | struct _client { |
234 | FluxboxWindow *transient_for, // which window are we a transient for? | 235 | FluxboxWindow *transient_for, // which window are we a transient for? |
@@ -309,12 +310,16 @@ private: | |||
309 | void updateGnomeLayerAtom(); | 310 | void updateGnomeLayerAtom(); |
310 | void updateGnomeWorkspaceAtom(); | 311 | void updateGnomeWorkspaceAtom(); |
311 | 312 | ||
313 | void setGnomeLayer(int layer); | ||
314 | |||
312 | int getGnomeWindowState(); | 315 | int getGnomeWindowState(); |
313 | bool handleGnomePropertyNotify(Atom atom); | 316 | bool handleGnomePropertyNotify(Atom atom); |
314 | int getGnomeLayer(); | 317 | int getGnomeLayer(); |
315 | void loadGnomeAtoms(); | 318 | void loadGnomeAtoms(); |
316 | void loadGnomeStateAtom(); | 319 | void loadGnomeStateAtom(); |
317 | void loadGnomeHintsAtom(); | 320 | void loadGnomeHintsAtom(); |
321 | void loadGnomeLayerAtom(); | ||
322 | |||
318 | int gnome_hints; | 323 | int gnome_hints; |
319 | #endif //GNOME | 324 | #endif //GNOME |
320 | 325 | ||