summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/Desktop.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/Desktop.h')
-rw-r--r--Libraries/LibGUI/Desktop.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Libraries/LibGUI/Desktop.h b/Libraries/LibGUI/Desktop.h
index e6b041a156..5b90accafa 100644
--- a/Libraries/LibGUI/Desktop.h
+++ b/Libraries/LibGUI/Desktop.h
@@ -45,13 +45,13 @@ public:
String wallpaper() const;
bool set_wallpaper(const StringView& path);
- Gfx::Rect rect() const { return m_rect; }
- void did_receive_screen_rect(Badge<WindowServerConnection>, const Gfx::Rect&);
+ Gfx::IntRect rect() const { return m_rect; }
+ void did_receive_screen_rect(Badge<WindowServerConnection>, const Gfx::IntRect&);
- Function<void(const Gfx::Rect&)> on_rect_change;
+ Function<void(const Gfx::IntRect&)> on_rect_change;
private:
- Gfx::Rect m_rect;
+ Gfx::IntRect m_rect;
};
}