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
commit 6c520fab87
Notes: sideshowbarker 2024-07-18 16:58:33 +09:00

View file

@ -10,6 +10,7 @@
#include <AK/String.h> #include <AK/String.h>
#include <LibGUI/Forward.h> #include <LibGUI/Forward.h>
#include <LibGfx/Rect.h> #include <LibGfx/Rect.h>
#include <Services/Taskbar/TaskbarWindow.h>
namespace GUI { namespace GUI {
@ -27,7 +28,7 @@ public:
Gfx::IntRect rect() const { return m_rect; } 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&); void did_receive_screen_rect(Badge<WindowServerConnection>, const Gfx::IntRect&);