mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
2e1320f264
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. |
||
---|---|---|
.. | ||
AudioServer | ||
ChessEngine | ||
Clipboard | ||
CrashDaemon | ||
DHCPClient | ||
EchoServer | ||
FileOperation | ||
ImageDecoder | ||
LaunchServer | ||
LookupServer | ||
NotificationServer | ||
RequestServer | ||
SymbolServer | ||
SystemServer | ||
Taskbar | ||
TelnetServer | ||
WebContent | ||
WebServer | ||
WebSocket | ||
WindowServer | ||
CMakeLists.txt |