summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Window.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-30 23:30:50 +0200
committerAndreas Kling <kling@serenityos.org>2021-03-30 23:43:24 +0200
commit0cd60a28ba0496e829f00b1e9f6d0c4052c637f4 (patch)
tree7c6d592cd953d0b963bd0ebeffdd58c320e57c3c /Userland/Libraries/LibGUI/Window.h
parent9bbc1c9c930157ba89eb0c3554a67bf4bd6fe7cb (diff)
downloadserenity-0cd60a28ba0496e829f00b1e9f6d0c4052c637f4.zip
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. :^)
Diffstat (limited to 'Userland/Libraries/LibGUI/Window.h')
-rw-r--r--Userland/Libraries/LibGUI/Window.h2
1 files changed, 1 insertions, 1 deletions
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 }); }