1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:57:45 +00:00

WindowServer+LibGUI: Plumb mouse/enter/leave events to applet windows

Since applet windows live in the applet area window, the AppletManager
has to keep track of which applet is hovered and send the appropriate
enter/leave events to the applet windows.

This makes applet tooltips work again. :^)
This commit is contained in:
Andreas Kling 2021-03-30 23:30:50 +02:00
parent 9bbc1c9c93
commit 0cd60a28ba
9 changed files with 44 additions and 13 deletions

View file

@ -62,7 +62,7 @@ endpoint WindowServer = 2
SetWindowMinimumSize(i32 window_id, Gfx::IntSize size) => ()
GetWindowMinimumSize(i32 window_id) => (Gfx::IntSize size)
GetWindowRectInMenubar(i32 window_id) => (Gfx::IntRect rect)
GetAppletRectOnScreen(i32 window_id) => (Gfx::IntRect rect)
StartWindowResize(i32 window_id) =|