From 0cd60a28ba0496e829f00b1e9f6d0c4052c637f4 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 30 Mar 2021 23:30:50 +0200 Subject: 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. :^) --- Userland/Libraries/LibGUI/Window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibGUI/Window.h') diff --git a/Userland/Libraries/LibGUI/Window.h b/Userland/Libraries/LibGUI/Window.h index 306788d8e7..06bea7ef55 100644 --- a/Userland/Libraries/LibGUI/Window.h +++ b/Userland/Libraries/LibGUI/Window.h @@ -101,7 +101,7 @@ public: int height() const { return rect().height(); } Gfx::IntRect rect() const; - Gfx::IntRect rect_in_menubar() const; + Gfx::IntRect applet_rect_on_screen() const; Gfx::IntSize size() const { return rect().size(); } void set_rect(const Gfx::IntRect&); void set_rect(int x, int y, int width, int height) { set_rect({ x, y, width, height }); } -- cgit v1.2.3