diff options
author | fluxgen <fluxgen> | 2007-05-20 12:48:51 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2007-05-20 12:48:51 (GMT) |
commit | fc0b87b279e4f470ed6ea863a155d0eb4906bc6f (patch) | |
tree | c180eb160fbecfd35e40aed4fb621e96e4fa39e7 | |
parent | df022d0fae9b882e8421daa4123f42cb727bd800 (diff) | |
download | fluxbox-fc0b87b279e4f470ed6ea863a155d0eb4906bc6f.zip fluxbox-fc0b87b279e4f470ed6ea863a155d0eb4906bc6f.tar.bz2 |
fixed bug #1717782, Bad fullscreen in ooimpress.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/Window.cc | 13 |
2 files changed, 16 insertions, 2 deletions
@@ -1,5 +1,10 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0.0: | 2 | Changes for 1.0.0: |
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 | * Fixed bug #1718112, memory leak in FbWindow::textProperty ( Henrik ) | 9 | * Fixed bug #1718112, memory leak in FbWindow::textProperty ( Henrik ) |
5 | FbTk/FbWindow.cc | 10 | FbTk/FbWindow.cc |
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; |