diff options
-rw-r--r-- | Userland/Libraries/LibGUI/Window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/Window.cpp b/Userland/Libraries/LibGUI/Window.cpp index 44a43ecf44..3c6d7c369b 100644 --- a/Userland/Libraries/LibGUI/Window.cpp +++ b/Userland/Libraries/LibGUI/Window.cpp @@ -385,8 +385,8 @@ void Window::handle_mouse_event(MouseEvent& event) } else { auto is_hovered = m_automatic_cursor_tracking_widget.ptr() == result.widget.ptr(); set_hovered_widget(is_hovered ? m_automatic_cursor_tracking_widget.ptr() : nullptr); - return; } + return; } set_hovered_widget(result.widget); if (event.buttons() != 0 && !m_automatic_cursor_tracking_widget) |