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

LibGUI: Desktop.h should get actual value from TaskbarWindow.h

This commit is contained in:
Matthew Jones 2021-06-02 17:29:53 -06:00 committed by Andreas Kling
parent b0682a73ee
commit 6c520fab87

View file

@ -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&);