From cfd055064a6b02f05aa6b77d7d26a9b33ad8a1eb Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Mon, 14 Sep 2009 02:13:33 -0700 Subject: mwm hints can't control the close button --- src/Window.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Window.cc b/src/Window.cc index cb86723..3ec91ec 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -1107,11 +1107,11 @@ void FluxboxWindow::updateMWMHintsFromClient(WinClient &client) { if (hint->decorations & MwmDecorAll) { decorations.titlebar = decorations.handle = decorations.border = decorations.iconify = decorations.maximize = - decorations.close = decorations.menu = true; + decorations.menu = true; } else { decorations.titlebar = decorations.handle = decorations.border = decorations.iconify = decorations.maximize = - decorations.close = decorations.tab = false; + decorations.tab = false; decorations.menu = true; if (hint->decorations & MwmDecorBorder) decorations.border = true; -- cgit v0.11.2