summaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index 014976a..7f23302 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Ewmh.cc,v 1.43 2004/02/14 12:15:35 fluxgen Exp $ 22// $Id: Ewmh.cc,v 1.44 2004/02/20 09:05:38 fluxgen Exp $
23 23
24#include "Ewmh.hh" 24#include "Ewmh.hh"
25 25
@@ -174,7 +174,8 @@ void Ewmh::setupFrame(FluxboxWindow &win) {
174 */ 174 */
175 if (atoms[l] == m_net_wm_window_type_dock) { 175 if (atoms[l] == m_net_wm_window_type_dock) {
176 // we also assume it shouldn't be visible in any toolbar 176 // we also assume it shouldn't be visible in any toolbar
177 win.setHidden(true); 177 win.setFocusHidden(true);
178 win.setIconHidden(true);
178 break; 179 break;
179 } 180 }
180 181
@@ -722,7 +723,8 @@ void Ewmh::setState(FluxboxWindow &win, Atom state, bool value) {
722 setFullscreen(win, value); 723 setFullscreen(win, value);
723 } else if (state == m_net_wm_state_hidden || 724 } else if (state == m_net_wm_state_hidden ||
724 state == m_net_wm_state_skip_taskbar) { 725 state == m_net_wm_state_skip_taskbar) {
725 win.setHidden(value); 726 win.setFocusHidden(value);
727 win.setIconHidden(win.isFocusHidden());
726 } else if (state == m_net_wm_state_below) { 728 } else if (state == m_net_wm_state_below) {
727 if (value) 729 if (value)
728 win.moveToLayer(Fluxbox::instance()->getBottomLayer()); 730 win.moveToLayer(Fluxbox::instance()->getBottomLayer());
@@ -752,7 +754,8 @@ void Ewmh::toggleState(FluxboxWindow &win, Atom state) {
752 setFullscreen(win, getState(win) == 0); // toggle current state 754 setFullscreen(win, getState(win) == 0); // toggle current state
753 } else if (state == m_net_wm_state_hidden || 755 } else if (state == m_net_wm_state_hidden ||
754 state == m_net_wm_state_skip_taskbar) { 756 state == m_net_wm_state_skip_taskbar) {
755 win.setHidden(!win.isHidden()); 757 win.setFocusHidden(!win.isFocusHidden());
758 win.setIconHidden(!win.isIconHidden());
756 } else if (state == m_net_wm_state_below) { 759 } else if (state == m_net_wm_state_below) {
757 if (win.layerNum() == Fluxbox::instance()->getBottomLayer()) 760 if (win.layerNum() == Fluxbox::instance()->getBottomLayer())
758 win.moveToLayer(Fluxbox::instance()->getNormalLayer()); 761 win.moveToLayer(Fluxbox::instance()->getNormalLayer());