mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:47:34 +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
|
@ -1149,7 +1149,7 @@ void WindowManager::event(Core::Event& event)
|
|||
m_previous_event_was_super_keydown = false;
|
||||
|
||||
process_mouse_event(mouse_event);
|
||||
set_hovered_window(m_window_stack.window_at(mouse_event.position()));
|
||||
set_hovered_window(m_window_stack.window_at(mouse_event.position(), WindowStack::IncludeWindowFrame::No));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue