mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
WindowServer: Vertically maximize window
Button now can handle middle and right clicks. Added 2 new handlers in button class: on_right_click for Right mouse button and on_middle_click for middle mouse button. Added functionality to vertically maximize window with middle mouse click on the maximize window button. Also added a way to vertically maximize window by resizing window height-wise lower than the maximum window height.
This commit is contained in:
parent
e1ee59ac9d
commit
8c220dee03
6 changed files with 48 additions and 4 deletions
|
@ -106,6 +106,8 @@ public:
|
|||
bool is_maximized() const { return m_maximized; }
|
||||
void set_maximized(bool, Optional<Gfx::IntPoint> fixed_point = {});
|
||||
|
||||
void set_vertically_maximized();
|
||||
|
||||
bool is_fullscreen() const { return m_fullscreen; }
|
||||
void set_fullscreen(bool);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue