1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:37:45 +00:00

WindowServer: Allow superdrags to hide the titlebar

Fixes #5105.
This commit is contained in:
Ben Wiederhake 2021-01-28 21:14:25 +01:00 committed by Andreas Kling
parent e200824125
commit 79f534ef12
3 changed files with 7 additions and 5 deletions

View file

@ -159,7 +159,7 @@ public:
void set_rect(const Gfx::IntRect&);
void set_rect(int x, int y, int width, int height) { set_rect({ x, y, width, height }); }
void set_rect_without_repaint(const Gfx::IntRect&);
void normalize_rect();
void normalize_rect(bool force_titlebar_visible = true);
void set_taskbar_rect(const Gfx::IntRect&);
const Gfx::IntRect& taskbar_rect() const { return m_taskbar_rect; }