summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/Window.cc b/src/Window.cc
index c83acd7..1393c99 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2485,12 +2485,10 @@ void FluxboxWindow::propertyNotifyEvent(WinClient &client, Atom atom) {
2485 bool changed = false; 2485 bool changed = false;
2486 client.updateWMNormalHints(); 2486 client.updateWMNormalHints();
2487 2487
2488 if ((client.normal_hint_flags & PMinSize) && 2488 if (client.min_width != old_min_width ||
2489 (client.normal_hint_flags & PMaxSize) && 2489 client.max_width != old_max_width ||
2490 (client.min_width != old_min_width || 2490 client.min_height != old_min_height ||
2491 client.max_width != old_max_width || 2491 client.max_height != old_max_height) {
2492 client.min_height != old_min_height ||
2493 client.max_height != old_max_height)) {
2494 if (client.max_width != 0 && client.max_width <= client.min_width && 2492 if (client.max_width != 0 && client.max_width <= client.min_width &&
2495 client.max_height != 0 && client.max_height <= client.min_height) { 2493 client.max_height != 0 && client.max_height <= client.min_height) {
2496 if (decorations.maximize || 2494 if (decorations.maximize ||
@@ -2504,7 +2502,7 @@ void FluxboxWindow::propertyNotifyEvent(WinClient &client, Atom atom) {
2504 functions.maximize=false; 2502 functions.maximize=false;
2505 } else { 2503 } else {
2506 // TODO: is broken while handled by FbW, needs to be in WinClient 2504 // TODO: is broken while handled by FbW, needs to be in WinClient
2507 if (! client.isTransient()) { 2505 if (!client.isTransient() || screen().decorateTransient()) {
2508 if (!decorations.maximize || 2506 if (!decorations.maximize ||
2509 !decorations.handle || 2507 !decorations.handle ||
2510 !functions.maximize) 2508 !functions.maximize)