aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2007-05-20 12:48:51 (GMT)
committerfluxgen <fluxgen>2007-05-20 12:48:51 (GMT)
commitfc0b87b279e4f470ed6ea863a155d0eb4906bc6f (patch)
treec180eb160fbecfd35e40aed4fb621e96e4fa39e7 /src
parentdf022d0fae9b882e8421daa4123f42cb727bd800 (diff)
downloadfluxbox-fc0b87b279e4f470ed6ea863a155d0eb4906bc6f.zip
fluxbox-fc0b87b279e4f470ed6ea863a155d0eb4906bc6f.tar.bz2
fixed bug #1717782, Bad fullscreen in ooimpress.
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 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;