diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc index e9d57c2..632c1e7 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -2570,6 +2570,15 @@ void FluxboxWindow::configureRequestEvent(XConfigureRequestEvent &cr) { | |||
2570 | int cx = frame().x(), cy = frame().y(), ignore = 0; | 2570 | int cx = frame().x(), cy = frame().y(), ignore = 0; |
2571 | unsigned int cw = frame().width(), ch = frame().height(); | 2571 | unsigned int cw = frame().width(), ch = frame().height(); |
2572 | 2572 | ||
2573 | // if this is not m_client and m_client has resize_inc, make sure the new | ||
2574 | // size would be ok with m_client | ||
2575 | if (client != m_client && cr.value_mask & CWWidth && | ||
2576 | cr.value_mask & CWHeight && | ||
2577 | !m_client->checkSizeHints(cr.width, cr.height)) { | ||
2578 | sendConfigureNotify(); | ||
2579 | return; | ||
2580 | } | ||
2581 | |||
2573 | if (cr.value_mask & CWBorderWidth) | 2582 | if (cr.value_mask & CWBorderWidth) |
2574 | client->old_bw = cr.border_width; | 2583 | client->old_bw = cr.border_width; |
2575 | 2584 | ||