summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Ewmh.cc4
-rw-r--r--src/Window.hh2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index ce5f1a3..8dd1959 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -606,6 +606,10 @@ void Ewmh::updateState(FluxboxWindow &win) {
606 606
607 StateVec state; 607 StateVec state;
608 608
609 if (win.isMaximizedHorz())
610 state.push_back(m_net_wm_state_maximized_horz);
611 if (win.isMaximizedVert())
612 state.push_back(m_net_wm_state_maximized_vert);
609 if (win.isStuck()) 613 if (win.isStuck())
610 state.push_back(m_net_wm_state_sticky); 614 state.push_back(m_net_wm_state_sticky);
611 if (win.isShaded()) 615 if (win.isShaded())
diff --git a/src/Window.hh b/src/Window.hh
index 4e5956f..4923ca6 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -342,6 +342,8 @@ public:
342 inline bool isShaded() const { return shaded; } 342 inline bool isShaded() const { return shaded; }
343 inline bool isFullscreen() const { return fullscreen; } 343 inline bool isFullscreen() const { return fullscreen; }
344 inline bool isMaximized() const { return maximized == MAX_FULL; } 344 inline bool isMaximized() const { return maximized == MAX_FULL; }
345 inline bool isMaximizedVert() const { return (bool)(maximized & MAX_VERT); }
346 inline bool isMaximizedHorz() const { return (bool)(maximized & MAX_HORZ); }
345 inline bool isIconifiable() const { return functions.iconify; } 347 inline bool isIconifiable() const { return functions.iconify; }
346 inline bool isMaximizable() const { return functions.maximize; } 348 inline bool isMaximizable() const { return functions.maximize; }
347 inline bool isResizable() const { return functions.resize; } 349 inline bool isResizable() const { return functions.resize; }