diff options
author | Matthew Jones <matthewbjones85@gmail.com> | 2021-06-02 17:29:53 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-03 08:23:45 +0200 |
commit | 6c520fab878d4af1ad69fa56b34c89320121f959 (patch) | |
tree | b7a296b1c47cd17102a8a08fe9ecf851a7c340db /Userland/Libraries | |
parent | b0682a73ee2266c738ef35f767fbf60b64c94a14 (diff) | |
download | serenity-6c520fab878d4af1ad69fa56b34c89320121f959.zip |
LibGUI: Desktop.h should get actual value from TaskbarWindow.h
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibGUI/Desktop.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/Desktop.h b/Userland/Libraries/LibGUI/Desktop.h index f725d9b86e..de53efeb0c 100644 --- a/Userland/Libraries/LibGUI/Desktop.h +++ b/Userland/Libraries/LibGUI/Desktop.h @@ -10,6 +10,7 @@ #include <AK/String.h> #include <LibGUI/Forward.h> #include <LibGfx/Rect.h> +#include <Services/Taskbar/TaskbarWindow.h> namespace GUI { @@ -27,7 +28,7 @@ public: Gfx::IntRect rect() const { return m_rect; } - int taskbar_height() const { return 27; } + int taskbar_height() const { return TaskbarWindow::taskbar_height(); } void did_receive_screen_rect(Badge<WindowServerConnection>, const Gfx::IntRect&); |