Skip to content

Commit

Permalink
Check if windows are actually maximized
Browse files Browse the repository at this point in the history
  • Loading branch information
Tar-Dingens committed Jan 16, 2019
1 parent 8fa6642 commit 105fed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/wm/windowinfowrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ inline void WindowInfoWrap::setIsMinimized(bool isMinimized) noexcept

inline bool WindowInfoWrap::isMaximized() const noexcept
{
return m_isMaxVert || m_isMaxHoriz;
return m_isMaxVert && m_isMaxHoriz;
}

inline bool WindowInfoWrap::isMaxVert() const noexcept
Expand Down

0 comments on commit 105fed0

Please sign in to comment.