From feac120f4a433d4fee947ff9cc23e170d6af95c0 Mon Sep 17 00:00:00 2001
From: Mark Tiefenbruck <mark@fluxbox.org>
Date: Fri, 22 Aug 2008 07:57:41 -0700
Subject: don't let MWM hints override defaultDeco

---
 src/Window.cc | 4 ++++
 1 file changed, 4 insertions(+)

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) {
         }
     }
 
+    unsigned int mask = decorationMask();
+    mask &= FbWinFrame::getDecoMaskFromString(screen().defaultDeco());
+    setDecorationMask(mask, false);
+
     // functions.tabable is ours, not special one
     // note that it means this window is "tabbable"
     if (hint->flags & MwmHintsFunctions) {
-- 
cgit v0.11.2