aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2007-05-20 12:50:54 (GMT)
committerfluxgen <fluxgen>2007-05-20 12:50:54 (GMT)
commitb585ed51fd07e47f5d4856d4e2d7bf3b72ef055e (patch)
treed1f3a8759f78a13b06838419e8e03b21ba50c09c
parentc02da6ba204d674a9648712ab12976a5d9f530e0 (diff)
downloadfluxbox-b585ed51fd07e47f5d4856d4e2d7bf3b72ef055e.zip
fluxbox-b585ed51fd07e47f5d4856d4e2d7bf3b72ef055e.tar.bz2
fixed bug #1717782, Bad fullscreen in ooimpress.
-rw-r--r--ChangeLog5
-rw-r--r--src/Window.cc13
2 files changed, 16 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index db79872..9f6f4b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.1: 2Changes for 1.1:
3*07/05/20:
4 * Fixed bug #1717782, Bad fullscreen in ooimpress2 ( Henrik )
5 mwm hint had no-resize which made resizing with
6 FluxboxWindow::setFullscreen impossible.
7 Window.cc
3*07/05/19: 8*07/05/19:
4 * Changed behavior of resource session.screen<N>.followModel (Mark) 9 * Changed behavior of resource session.screen<N>.followModel (Mark)
5 - now only options are Ignore and Follow, the latter using the setting in 10 - now only options are Ignore and Follow, the latter using the setting in
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;