diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Window.cc b/src/Window.cc index 29acd3b..b9a454b 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -3701,25 +3701,25 @@ bool FluxboxWindow::isTransient() const { | |||
3701 | } | 3701 | } |
3702 | 3702 | ||
3703 | int FluxboxWindow::normalX() const { | 3703 | int FluxboxWindow::normalX() const { |
3704 | if (maximized & MAX_HORZ) | 3704 | if (maximized & MAX_HORZ || fullscreen) |
3705 | return m_old_pos_x; | 3705 | return m_old_pos_x; |
3706 | return x(); | 3706 | return x(); |
3707 | } | 3707 | } |
3708 | 3708 | ||
3709 | int FluxboxWindow::normalY() const { | 3709 | int FluxboxWindow::normalY() const { |
3710 | if (maximized & MAX_VERT) | 3710 | if (maximized & MAX_VERT || fullscreen) |
3711 | return m_old_pos_y; | 3711 | return m_old_pos_y; |
3712 | return y(); | 3712 | return y(); |
3713 | } | 3713 | } |
3714 | 3714 | ||
3715 | unsigned int FluxboxWindow::normalWidth() const { | 3715 | unsigned int FluxboxWindow::normalWidth() const { |
3716 | if (maximized & MAX_HORZ) | 3716 | if (maximized & MAX_HORZ || fullscreen) |
3717 | return m_old_width; | 3717 | return m_old_width; |
3718 | return width(); | 3718 | return width(); |
3719 | } | 3719 | } |
3720 | 3720 | ||
3721 | unsigned int FluxboxWindow::normalHeight() const { | 3721 | unsigned int FluxboxWindow::normalHeight() const { |
3722 | if (maximized & MAX_VERT) | 3722 | if (maximized & MAX_VERT || fullscreen) |
3723 | return m_old_height; | 3723 | return m_old_height; |
3724 | if (shaded) | 3724 | if (shaded) |
3725 | return frame().normalHeight(); | 3725 | return frame().normalHeight(); |