mwm hints can't control the close button
This commit is contained in:
parent
5a3f25cda1
commit
cfd055064a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue