mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:57:44 +00:00
Taskbar: Make clicks at the edges and corners work as expected
This makes it easy for the user to just throw the mouse at the corner of the screen and obtain the desired outcome (eg. opening the start menu), without having to precisely position the cursor over one of the buttons.
This commit is contained in:
parent
dac7b25b8a
commit
ab1caad1e9
2 changed files with 23 additions and 0 deletions
|
@ -30,6 +30,7 @@ private:
|
|||
void update_window_button(::Window&, bool);
|
||||
::Window* find_window_owner(::Window&) const;
|
||||
|
||||
virtual void event(Core::Event&) override;
|
||||
virtual void wm_event(GUI::WMEvent&) override;
|
||||
virtual void screen_rects_change_event(GUI::ScreenRectsChangeEvent&) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue