mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:17:44 +00:00
WindowServer: Don't include frame when determining hovered window
We only consider a window "hovered" if its *content area* is hovered.
This commit is contained in:
parent
1537172a6b
commit
82f1ac7390
3 changed files with 9 additions and 3 deletions
|
@ -20,7 +20,11 @@ public:
|
|||
void remove(Window&);
|
||||
void move_to_front(Window&);
|
||||
|
||||
Window* window_at(Gfx::IntPoint const&) const;
|
||||
enum class IncludeWindowFrame {
|
||||
Yes,
|
||||
No,
|
||||
};
|
||||
Window* window_at(Gfx::IntPoint const&, IncludeWindowFrame = IncludeWindowFrame::Yes) const;
|
||||
|
||||
template<typename Callback>
|
||||
IterationDecision for_each_visible_window_from_back_to_front(Callback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue