summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 9b3c3ce..d16815c 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2435,7 +2435,7 @@ void FluxboxWindow::configureRequestEvent(XConfigureRequestEvent &cr) {
2435 int old_x = frame().x(), old_y = frame().y(); 2435 int old_x = frame().x(), old_y = frame().y();
2436 unsigned int old_w = frame().width(); 2436 unsigned int old_w = frame().width();
2437 unsigned int old_h = frame().height() - frame().titlebarHeight() 2437 unsigned int old_h = frame().height() - frame().titlebarHeight()
2438 + frame().handleHeight(); 2438 - frame().handleHeight();
2439 int cx = old_x, cy = old_y, ignore = 0; 2439 int cx = old_x, cy = old_y, ignore = 0;
2440 unsigned int cw = old_w, ch = old_h; 2440 unsigned int cw = old_w, ch = old_h;
2441 2441
@@ -2447,10 +2447,8 @@ void FluxboxWindow::configureRequestEvent(XConfigureRequestEvent &cr) {
2447 ClientList::iterator it = clientList().begin(); 2447 ClientList::iterator it = clientList().begin();
2448 ClientList::iterator it_end = clientList().end(); 2448 ClientList::iterator it_end = clientList().end();
2449 for (; it != it_end; ++it) { 2449 for (; it != it_end; ++it) {
2450 if (*it != client && !(*it)->checkSizeHints(new_w, new_h)) { 2450 if (*it != client && !(*it)->checkSizeHints(new_w, new_h))
2451 sendConfigureNotify(); 2451 cr.value_mask = cr.value_mask & ~(CWWidth | CWHeight);
2452 return;
2453 }
2454 } 2452 }
2455 } 2453 }
2456 2454