Skip to content

Commit

Permalink
Add ButtonRestore case
Browse files Browse the repository at this point in the history
  • Loading branch information
urFate committed Oct 31, 2022
1 parent adf0a1d commit 4093f1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/decoration/qgnomeplatformdecoration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,7 @@ bool QGnomePlatformDecoration::isButtonHovered(Adwaita::ButtonType button) const
case Adwaita::ButtonType::ButtonClose:
return m_closeButtonHovered;
case Adwaita::ButtonType::ButtonMaximize:
case Adwaita::ButtonType::ButtonRestore:
return m_maximizeButtonHovered;
case Adwaita::ButtonType::ButtonMinimize:
return m_minimizeButtonHovered;
Expand Down

0 comments on commit 4093f1a

Please sign in to comment.