aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 0bee703..e1fea07 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1387,6 +1387,29 @@ void FluxboxWindow::moveResize(int new_x, int new_y,
1387 1387
1388} 1388}
1389 1389
1390void FluxboxWindow::moveResizeForClient(int new_x, int new_y,
1391 unsigned int new_width, unsigned int new_height, int gravity) {
1392
1393 // magic to detect if moved during initialisation
1394 if (!isInitialized())
1395 m_old_pos_x = 1;
1396 frame().moveResizeForClient(new_x, new_y, new_width, new_height, true, true, gravity);
1397 setFocusFlag(focused);
1398 shaded = false;
1399 sendConfigureNotify();
1400
1401 shape();
1402
1403 if (!moving) {
1404 m_last_resize_x = new_x;
1405 m_last_resize_y = new_y;
1406 }
1407
1408}
1409
1410
1411
1412
1390// returns whether the focus was "set" to this window 1413// returns whether the focus was "set" to this window
1391// it doesn't guarantee that it has focus, but says that we have 1414// it doesn't guarantee that it has focus, but says that we have
1392// tried. A FocusqIn event should eventually arrive for that 1415// tried. A FocusqIn event should eventually arrive for that