diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.cc | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc index 9f79649..413ffcc 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -1571,9 +1571,18 @@ void FluxboxWindow::setFullscreen(bool flag) { | |||
1571 | // clear decorations | 1571 | // clear decorations |
1572 | setDecorationMask(0); | 1572 | setDecorationMask(0); |
1573 | 1573 | ||
1574 | // dont call Window::moveResize here, it might ignore the | ||
1575 | // resize if win state is not resizable; | ||
1576 | // instead we call frame resize directly | ||
1577 | // (see tests/fullscreentest.cc) | ||
1578 | |||
1574 | // be xinerama aware | 1579 | // be xinerama aware |
1575 | moveResize(screen().getHeadX(head), screen().getHeadY(head), | 1580 | frame().moveResize(screen().getHeadX(head), screen().getHeadY(head), |
1576 | screen().getHeadWidth(head), screen().getHeadHeight(head)); | 1581 | screen().getHeadWidth(head), screen().getHeadHeight(head)); |
1582 | sendConfigureNotify(); | ||
1583 | m_last_resize_x = frame().x(); | ||
1584 | m_last_resize_y = frame().y(); | ||
1585 | |||
1577 | moveToLayer(::Layer::ABOVE_DOCK); | 1586 | moveToLayer(::Layer::ABOVE_DOCK); |
1578 | 1587 | ||
1579 | fullscreen = true; | 1588 | fullscreen = true; |