fix restoring fullscreen windows

This commit is contained in:
markt 2006-08-13 00:51:52 +00:00
parent f3ab9e6b13
commit db80ce64d7
2 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,8 @@
(Format: Year/Month/Day)
Changes for 1.0rc3:
*06/08/12:
* Fix placement of restored fullscreen windows (Mark)
Window.cc
*06/08/10:
* Fix crash in ClientPattern when more than one pattern in [app] line (Simon)
ClientPattern.cc

View file

@ -1651,6 +1651,7 @@ void FluxboxWindow::setFullscreen(bool flag) {
m_last_resize_y = m_old_pos_y;
m_last_resize_w = m_old_width;
m_last_resize_h = m_old_height;
m_resize_corner = NOCORNER;
fixsize();
moveResize(m_last_resize_x, m_last_resize_y, m_last_resize_w, m_last_resize_h);