aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2009-09-14 09:13:33 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2009-09-14 09:13:33 (GMT)
commitcfd055064a6b02f05aa6b77d7d26a9b33ad8a1eb (patch)
tree4fcebbe02b0ccdb4459ec0147e1d8a9e95c4b2ee /src/Window.cc
parent5a3f25cda17d5381873431a5404944b63176c966 (diff)
downloadfluxbox-cfd055064a6b02f05aa6b77d7d26a9b33ad8a1eb.zip
fluxbox-cfd055064a6b02f05aa6b77d7d26a9b33ad8a1eb.tar.bz2
mwm hints can't control the close button
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc4
1 files 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) {
1107 if (hint->decorations & MwmDecorAll) { 1107 if (hint->decorations & MwmDecorAll) {
1108 decorations.titlebar = decorations.handle = decorations.border = 1108 decorations.titlebar = decorations.handle = decorations.border =
1109 decorations.iconify = decorations.maximize = 1109 decorations.iconify = decorations.maximize =
1110 decorations.close = decorations.menu = true; 1110 decorations.menu = true;
1111 } else { 1111 } else {
1112 decorations.titlebar = decorations.handle = decorations.border = 1112 decorations.titlebar = decorations.handle = decorations.border =
1113 decorations.iconify = decorations.maximize = 1113 decorations.iconify = decorations.maximize =
1114 decorations.close = decorations.tab = false; 1114 decorations.tab = false;
1115 decorations.menu = true; 1115 decorations.menu = true;
1116 if (hint->decorations & MwmDecorBorder) 1116 if (hint->decorations & MwmDecorBorder)
1117 decorations.border = true; 1117 decorations.border = true;