1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:07:46 +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:
Andrea Martinelli 2021-07-08 21:27:05 +02:00 committed by Andreas Kling
parent dac7b25b8a
commit ab1caad1e9
2 changed files with 23 additions and 0 deletions

View file

@ -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;