fixed bug #1717782, Bad fullscreen in ooimpress.

This commit is contained in:
fluxgen 2007-05-20 12:48:51 +00:00
parent df022d0fae
commit fc0b87b279
2 changed files with 16 additions and 2 deletions

View file

@ -1,5 +1,10 @@
(Format: Year/Month/Day)
Changes for 1.0.0:
*07/05/20:
* Fixed bug #1717782, Bad fullscreen in ooimpress2 ( Henrik )
mwm hint had no-resize which made resizing with
FluxboxWindow::setFullscreen impossible.
Window.cc
*07/05/19:
* Fixed bug #1718112, memory leak in FbWindow::textProperty ( Henrik )
FbTk/FbWindow.cc

View file

@ -1571,9 +1571,18 @@ void FluxboxWindow::setFullscreen(bool flag) {
// clear decorations
setDecorationMask(0);
// dont call Window::moveResize here, it might ignore the
// resize if win state is not resizable;
// instead we call frame resize directly
// (see tests/fullscreentest.cc)
// be xinerama aware
moveResize(screen().getHeadX(head), screen().getHeadY(head),
screen().getHeadWidth(head), screen().getHeadHeight(head));
frame().moveResize(screen().getHeadX(head), screen().getHeadY(head),
screen().getHeadWidth(head), screen().getHeadHeight(head));
sendConfigureNotify();
m_last_resize_x = frame().x();
m_last_resize_y = frame().y();
moveToLayer(::Layer::ABOVE_DOCK);
fullscreen = true;