diff options
Diffstat (limited to 'Userland/Services/WindowServer/Screen.h')
-rw-r--r-- | Userland/Services/WindowServer/Screen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/WindowServer/Screen.h b/Userland/Services/WindowServer/Screen.h index ef8b367ecf..64cce345bf 100644 --- a/Userland/Services/WindowServer/Screen.h +++ b/Userland/Services/WindowServer/Screen.h @@ -164,6 +164,7 @@ public: Gfx::IntSize physical_size() const { return { physical_width(), physical_height() }; } + Gfx::IntPoint location() const { return m_virtual_rect.location(); } Gfx::IntSize size() const { return { m_virtual_rect.width(), m_virtual_rect.height() }; } Gfx::IntRect rect() const { return m_virtual_rect; } |