summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorMatthew Jones <matthewbjones85@gmail.com>2021-06-02 17:29:53 -0600
committerAndreas Kling <kling@serenityos.org>2021-06-03 08:23:45 +0200
commit6c520fab878d4af1ad69fa56b34c89320121f959 (patch)
treeb7a296b1c47cd17102a8a08fe9ecf851a7c340db /Userland/Libraries
parentb0682a73ee2266c738ef35f767fbf60b64c94a14 (diff)
downloadserenity-6c520fab878d4af1ad69fa56b34c89320121f959.zip
LibGUI: Desktop.h should get actual value from TaskbarWindow.h
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibGUI/Desktop.h3
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&);