mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
WindowServer: Properly determine where a window may be
This also fixes weird behavior of WindowManager::desktop_rect(). None of the callers seem to ever expect an empty Rect, so return a non-empty Rect.
This commit is contained in:
parent
af605afb27
commit
3fd5aec187
Notes:
sideshowbarker
2024-07-18 22:45:34 +09:00
Author: https://github.com/BenWiederhake
Commit: 3fd5aec187
Pull-request: https://github.com/SerenityOS/serenity/pull/5156
Reviewed-by: https://github.com/emanuele6
Reviewed-by: https://github.com/nico
3 changed files with 22 additions and 2 deletions
|
@ -120,6 +120,7 @@ public:
|
|||
|
||||
Gfx::IntRect menubar_rect() const;
|
||||
Gfx::IntRect desktop_rect() const;
|
||||
Gfx::IntRect arena_rect_for_type(WindowType) const;
|
||||
|
||||
const Cursor& active_cursor() const;
|
||||
const Cursor& hidden_cursor() const { return *m_hidden_cursor; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue