ladybird/Userland/Services
Jelle Raaijmakers 2e1320f264 WindowServer: Reevaluate hovered window on window rect change
When a new Window instance is added to the WindowManager, it does not
yet have an updated value for `m_frame->rect()` and we're not checking
if there is a new candidate for the hovered window, which we need to do
since the mouse cursor might hover above the newly opened window.

This fixes both issues: as soon as a Window frame's rect is changed,
ask the WindowManager to reevaluate its hovered window. This takes care
of newly opened windows _and_ windows that are programmatically changed
in size.

This works because when a Window becomes hovered, the WindowManager
sends out an enter event. This event in turn triggers the Window to
evaluate the cursor type under the mouse position and to update it when
necessary.

Fixes #4809.
2021-04-27 08:58:13 +02:00
..
AudioServer IPCCompiler: Remove hardcoded endpoint magic, attempt deux 2021-04-25 14:06:56 +02:00
ChessEngine Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Clipboard IPCCompiler: Remove hardcoded endpoint magic, attempt deux 2021-04-25 14:06:56 +02:00
CrashDaemon Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DHCPClient Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EchoServer AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
FileOperation Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ImageDecoder IPCCompiler: Remove hardcoded endpoint magic, attempt deux 2021-04-25 14:06:56 +02:00
LaunchServer IPCCompiler: Remove hardcoded endpoint magic, attempt deux 2021-04-25 14:06:56 +02:00
LookupServer IPCCompiler: Remove hardcoded endpoint magic, attempt deux 2021-04-25 14:06:56 +02:00
NotificationServer IPCCompiler: Remove hardcoded endpoint magic, attempt deux 2021-04-25 14:06:56 +02:00
RequestServer Services: Rename ProtocolServer to RequestServer 2021-04-25 19:04:34 +02:00
SymbolServer IPCCompiler: Remove hardcoded endpoint magic, attempt deux 2021-04-25 14:06:56 +02:00
SystemServer Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Taskbar Userland+Base: Add "ladyball" logo for the system :^) 2021-04-25 18:57:10 +02:00
TelnetServer AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
WebContent Services: Rename ProtocolServer to RequestServer 2021-04-25 19:04:34 +02:00
WebServer Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WebSocket Services: Add a WebSocket service 2021-04-25 19:04:34 +02:00
WindowServer WindowServer: Reevaluate hovered window on window rect change 2021-04-27 08:58:13 +02:00
CMakeLists.txt Services: Rename ProtocolServer to RequestServer 2021-04-25 19:04:34 +02:00