all repos — fluxbox @ 552d9a70bd43fd02977bcec7f1fd4bef904bd39c

custom fork of the fluxbox windowmanager

minor fixes for handling ConfigureRequest events
Mark Tiefenbruck mark@fluxbox.org
commit

552d9a70bd43fd02977bcec7f1fd4bef904bd39c

parent

fbc305ca80e352240b32b833e8388fb9aa99fa72

1 files changed, 3 insertions(+), 5 deletions(-)

jump to
M src/Window.ccsrc/Window.cc

@@ -2435,7 +2435,7 @@

int old_x = frame().x(), old_y = frame().y(); unsigned int old_w = frame().width(); unsigned int old_h = frame().height() - frame().titlebarHeight() - + frame().handleHeight(); + - frame().handleHeight(); int cx = old_x, cy = old_y, ignore = 0; unsigned int cw = old_w, ch = old_h;

@@ -2447,10 +2447,8 @@ int new_h = (cr.value_mask & CWHeight) ? cr.height : ch;

ClientList::iterator it = clientList().begin(); ClientList::iterator it_end = clientList().end(); for (; it != it_end; ++it) { - if (*it != client && !(*it)->checkSizeHints(new_w, new_h)) { - sendConfigureNotify(); - return; - } + if (*it != client && !(*it)->checkSizeHints(new_w, new_h)) + cr.value_mask = cr.value_mask & ~(CWWidth | CWHeight); } }