aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 68aef8d..3042812 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -1605,9 +1605,18 @@ void FluxboxWindow::setFullscreen(bool flag) {
1605 // clear decorations 1605 // clear decorations
1606 setDecorationMask(0); 1606 setDecorationMask(0);
1607 1607
1608 // dont call Window::moveResize here, it might ignore the
1609 // resize if win state is not resizable;
1610 // instead we call frame resize directly
1611 // (see tests/fullscreentest.cc)
1612
1608 // be xinerama aware 1613 // be xinerama aware
1609 moveResize(screen().getHeadX(head), screen().getHeadY(head), 1614 frame().moveResize(screen().getHeadX(head), screen().getHeadY(head),
1610 screen().getHeadWidth(head), screen().getHeadHeight(head)); 1615 screen().getHeadWidth(head), screen().getHeadHeight(head));
1616 sendConfigureNotify();
1617 m_last_resize_x = frame().x();
1618 m_last_resize_y = frame().y();
1619
1611 moveToLayer(::Layer::ABOVE_DOCK); 1620 moveToLayer(::Layer::ABOVE_DOCK);
1612 1621
1613 fullscreen = true; 1622 fullscreen = true;