summaryrefslogtreecommitdiff
path: root/platform/macos/display_server_macos.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-08-05 13:14:13 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-08-05 13:14:13 +0300
commit944779a1325d9b7ed10cd160ed28439e2e4d67a3 (patch)
tree78d3f82ebbf15f8e124d71e0019c06705a9c3a46 /platform/macos/display_server_macos.h
parentcc35a8723c4cf07bc26032f4f21d6a93f9997d20 (diff)
Implement `screen_is_kept_on` for macOS.
Diffstat (limited to 'platform/macos/display_server_macos.h')
-rw-r--r--platform/macos/display_server_macos.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/macos/display_server_macos.h b/platform/macos/display_server_macos.h
index 65f9a3d4b8..54c479fc81 100644
--- a/platform/macos/display_server_macos.h
+++ b/platform/macos/display_server_macos.h
@@ -303,6 +303,7 @@ public:
virtual Rect2i screen_get_usable_rect(int p_screen = SCREEN_OF_MAIN_WINDOW) const override;
virtual float screen_get_refresh_rate(int p_screen = SCREEN_OF_MAIN_WINDOW) const override;
virtual void screen_set_keep_on(bool p_enable) override;
+ virtual bool screen_is_kept_on() const override;
virtual Vector<int> get_window_list() const override;