all repos — fluxbox @ 466e2980ccbec40de934197adf9a3af4097291f1

custom fork of the fluxbox windowmanager

Added WinState and getGnomeStateAtom
fluxgen fluxgen
commit

466e2980ccbec40de934197adf9a3af4097291f1

parent

caa40d71dfd871d9b1d5dc2bac88e9f17050dec7

1 files changed, 17 insertions(+), 2 deletions(-)

jump to
M src/BaseDisplay.hhsrc/BaseDisplay.hh

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: BaseDisplay.hh,v 1.8 2002/01/27 13:08:53 fluxgen Exp $ +// $Id: BaseDisplay.hh,v 1.9 2002/02/04 06:58:50 fluxgen Exp $ #ifndef _BASEDISPLAY_HH_ #define _BASEDISPLAY_HH_

@@ -64,6 +64,20 @@ ATTRIB_WORKSPACE = 0x10,

ATTRIB_STACK = 0x20, ATTRIB_DECORATION = 0x40 }; + #ifdef GNOME + enum WinState { + WIN_STATE_STICKY = (1<<0), // everyone knows sticky + WIN_STATE_MINIMIZED = (1<<1), // Reserved - definition is unclear + WIN_STATE_MAXIMIZED_VERT = (1<<2), // window in maximized V state + WIN_STATE_MAXIMIZED_HORIZ = (1<<3), // window in maximized H state + WIN_STATE_HIDDEN = (1<<4), // not on taskbar but window visible + WIN_STATE_SHADED = (1<<5), // shaded (MacOS / Afterstep style) + WIN_STATE_HID_WORKSPACE = (1<<6), // not on current desktop + WIN_STATE_HID_TRANSIENT = (1<<7), // owner of transient is hidden + WIN_STATE_FIXED_POSITION = (1<<8), // window is fixed in position even + WIN_STATE_ARRANGE_IGNORE = (1<<9) // ignore for auto arranging + }; + #endif enum Decor {DECOR_NONE=0, DECOR_NORMAL, DECOR_TINY, DECOR_TOOL}; enum Stack {STACK_TOP=0, STACK_NORMAL, STACK_BOTTOM};

@@ -86,6 +100,7 @@ inline Atom &getGnomeSupportingWMCheckAtom() { return gnome_wm_supporting_wm_check; }

inline Atom &getGnomeWorkspaceAtom() { return gnome_wm_win_workspace; } inline Atom &getGnomeWorkspaceCountAtom() { return gnome_wm_win_workspace_count; } inline Atom &getGnomeWorkspaceNamesAtom() { return gnome_wm_win_workspace_names; } + inline Atom &getGnomeStateAtom() { return gnome_wm_win_state; } #endif //GNOME inline const Atom &getWMChangeStateAtom(void) const

@@ -150,7 +165,7 @@ { return blackbox_change_window_focus; }

inline const Atom &getFluxboxCycleWindowFocusAtom(void) const { return blackbox_cycle_window_focus; } -#ifdef NEWWMSPEC +#ifdef NEWWMSPEC // root window properties inline const Atom &getNETSupportedAtom(void) const