aboutsummaryrefslogtreecommitdiff
path: root/src/BaseDisplay.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-02-04 06:58:50 (GMT)
committerfluxgen <fluxgen>2002-02-04 06:58:50 (GMT)
commit466e2980ccbec40de934197adf9a3af4097291f1 (patch)
treec034558ce8c772ed7b81bc37aca2911595be7593 /src/BaseDisplay.hh
parentcaa40d71dfd871d9b1d5dc2bac88e9f17050dec7 (diff)
downloadfluxbox-466e2980ccbec40de934197adf9a3af4097291f1.zip
fluxbox-466e2980ccbec40de934197adf9a3af4097291f1.tar.bz2
Added WinState and getGnomeStateAtom
Diffstat (limited to 'src/BaseDisplay.hh')
-rw-r--r--src/BaseDisplay.hh19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/BaseDisplay.hh b/src/BaseDisplay.hh
index 7b3d1c8..1407bc4 100644
--- a/src/BaseDisplay.hh
+++ b/src/BaseDisplay.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: BaseDisplay.hh,v 1.8 2002/01/27 13:08:53 fluxgen Exp $ 25// $Id: BaseDisplay.hh,v 1.9 2002/02/04 06:58:50 fluxgen Exp $
26 26
27#ifndef _BASEDISPLAY_HH_ 27#ifndef _BASEDISPLAY_HH_
28#define _BASEDISPLAY_HH_ 28#define _BASEDISPLAY_HH_
@@ -64,6 +64,20 @@ public:
64 ATTRIB_STACK = 0x20, 64 ATTRIB_STACK = 0x20,
65 ATTRIB_DECORATION = 0x40 65 ATTRIB_DECORATION = 0x40
66 }; 66 };
67 #ifdef GNOME
68 enum WinState {
69 WIN_STATE_STICKY = (1<<0), // everyone knows sticky
70 WIN_STATE_MINIMIZED = (1<<1), // Reserved - definition is unclear
71 WIN_STATE_MAXIMIZED_VERT = (1<<2), // window in maximized V state
72 WIN_STATE_MAXIMIZED_HORIZ = (1<<3), // window in maximized H state
73 WIN_STATE_HIDDEN = (1<<4), // not on taskbar but window visible
74 WIN_STATE_SHADED = (1<<5), // shaded (MacOS / Afterstep style)
75 WIN_STATE_HID_WORKSPACE = (1<<6), // not on current desktop
76 WIN_STATE_HID_TRANSIENT = (1<<7), // owner of transient is hidden
77 WIN_STATE_FIXED_POSITION = (1<<8), // window is fixed in position even
78 WIN_STATE_ARRANGE_IGNORE = (1<<9) // ignore for auto arranging
79 };
80 #endif
67 enum Decor {DECOR_NONE=0, DECOR_NORMAL, DECOR_TINY, DECOR_TOOL}; 81 enum Decor {DECOR_NONE=0, DECOR_NORMAL, DECOR_TINY, DECOR_TOOL};
68 enum Stack {STACK_TOP=0, STACK_NORMAL, STACK_BOTTOM}; 82 enum Stack {STACK_TOP=0, STACK_NORMAL, STACK_BOTTOM};
69 83
@@ -86,6 +100,7 @@ public:
86 inline Atom &getGnomeWorkspaceAtom() { return gnome_wm_win_workspace; } 100 inline Atom &getGnomeWorkspaceAtom() { return gnome_wm_win_workspace; }
87 inline Atom &getGnomeWorkspaceCountAtom() { return gnome_wm_win_workspace_count; } 101 inline Atom &getGnomeWorkspaceCountAtom() { return gnome_wm_win_workspace_count; }
88 inline Atom &getGnomeWorkspaceNamesAtom() { return gnome_wm_win_workspace_names; } 102 inline Atom &getGnomeWorkspaceNamesAtom() { return gnome_wm_win_workspace_names; }
103 inline Atom &getGnomeStateAtom() { return gnome_wm_win_state; }
89#endif //GNOME 104#endif //GNOME
90 105
91 inline const Atom &getWMChangeStateAtom(void) const 106 inline const Atom &getWMChangeStateAtom(void) const
@@ -150,7 +165,7 @@ public:
150 inline const Atom &getFluxboxCycleWindowFocusAtom(void) const 165 inline const Atom &getFluxboxCycleWindowFocusAtom(void) const
151 { return blackbox_cycle_window_focus; } 166 { return blackbox_cycle_window_focus; }
152 167
153#ifdef NEWWMSPEC 168#ifdef NEWWMSPEC
154 169
155 // root window properties 170 // root window properties
156 inline const Atom &getNETSupportedAtom(void) const 171 inline const Atom &getNETSupportedAtom(void) const