mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:47:34 +00:00
WindowServer: Clear window switcher's hovered item when cursor leaves
When the mouse cursor leaves the switcher window, we'll want to clear the hovered item index so it stops showing as hovered. :^)
This commit is contained in:
parent
6f80d91850
commit
7fb2540ffe
2 changed files with 15 additions and 1 deletions
|
@ -61,6 +61,7 @@ private:
|
|||
void select_window_at_index(int index);
|
||||
Gfx::IntRect item_rect(int index) const;
|
||||
Window* selected_window();
|
||||
void clear_hovered_index();
|
||||
|
||||
virtual void event(Core::Event&) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue