diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2022-04-26 11:40:57 +0200 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2022-05-02 09:31:32 +0200 |
commit | 97e87a2daf27ff250e748cb25a29f1c91879c709 (patch) | |
tree | 2d033d6216df1a1d8a2df50cd44a0389ed35ed30 /servers/display_server.h | |
parent | bc7ccc909bb81334124fb24a771e148991fb0b3a (diff) |
Fix screen_get_usable_rect returning display safe area
Diffstat (limited to 'servers/display_server.h')
-rw-r--r-- | servers/display_server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/display_server.h b/servers/display_server.h index 64340cff73..136f95a74f 100644 --- a/servers/display_server.h +++ b/servers/display_server.h @@ -229,6 +229,7 @@ public: virtual String clipboard_get_primary() const; virtual Array get_display_cutouts() const { return Array(); } + virtual Rect2i get_display_safe_area() const { return screen_get_usable_rect(); } enum { SCREEN_OF_MAIN_WINDOW = -1 |