fixed bug #1717782, Bad fullscreen in ooimpress.
fluxgen fluxgen
2 files changed,
16 insertions(+),
2 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -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
M
src/Window.cc
→
src/Window.cc
@@ -1571,9 +1571,18 @@
// 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;