diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-22 14:57:41 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-22 14:57:41 (GMT) |
commit | feac120f4a433d4fee947ff9cc23e170d6af95c0 (patch) | |
tree | 8cb9d1badc597144de56cb35ba1fa4a5d52d825b /src | |
parent | 9170de1831bd1be633a77f871a7581e238958925 (diff) | |
download | fluxbox-feac120f4a433d4fee947ff9cc23e170d6af95c0.zip fluxbox-feac120f4a433d4fee947ff9cc23e170d6af95c0.tar.bz2 |
don't let MWM hints override defaultDeco
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc index c91e875..7dc268f 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -1104,6 +1104,10 @@ void FluxboxWindow::updateMWMHintsFromClient(WinClient &client) { | |||
1104 | } | 1104 | } |
1105 | } | 1105 | } |
1106 | 1106 | ||
1107 | unsigned int mask = decorationMask(); | ||
1108 | mask &= FbWinFrame::getDecoMaskFromString(screen().defaultDeco()); | ||
1109 | setDecorationMask(mask, false); | ||
1110 | |||
1107 | // functions.tabable is ours, not special one | 1111 | // functions.tabable is ours, not special one |
1108 | // note that it means this window is "tabbable" | 1112 | // note that it means this window is "tabbable" |
1109 | if (hint->flags & MwmHintsFunctions) { | 1113 | if (hint->flags & MwmHintsFunctions) { |