summaryrefslogtreecommitdiff
path: root/Userland/Services/WindowServer/Window.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/WindowServer/Window.h')
-rw-r--r--Userland/Services/WindowServer/Window.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Userland/Services/WindowServer/Window.h b/Userland/Services/WindowServer/Window.h
index 261cbcf4f4..89796a99ca 100644
--- a/Userland/Services/WindowServer/Window.h
+++ b/Userland/Services/WindowServer/Window.h
@@ -123,6 +123,9 @@ public:
void check_untile_due_to_resize(Gfx::IntRect const&);
bool set_untiled(Optional<Gfx::IntPoint> fixed_point = {});
+ Gfx::IntRect floating_rect() const { return m_floating_rect; }
+ void set_floating_rect(Gfx::IntRect rect) { m_floating_rect = rect; }
+
void set_forced_shadow(bool b) { m_forced_shadow = b; }
bool has_forced_shadow() const { return m_forced_shadow; }
@@ -436,7 +439,7 @@ private:
bool m_invalidate_last_render_rects { false };
Vector<i32> m_stealable_by_client_ids;
WindowTileType m_tile_type { WindowTileType::None };
- Gfx::IntRect m_untiled_rect;
+ Gfx::IntRect m_floating_rect;
bool m_occluded { false };
RefPtr<Gfx::Bitmap> m_backing_store;
RefPtr<Gfx::Bitmap> m_last_backing_store;