From 00e788e6117fe0ca8b18477140fdc69c7b16a5b3 Mon Sep 17 00:00:00 2001 From: RedMser Date: Wed, 3 Aug 2022 18:29:07 +0200 Subject: Implement `keep_screen_on` for Windows --- platform/windows/display_server_windows.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'platform/windows/display_server_windows.h') diff --git a/platform/windows/display_server_windows.h b/platform/windows/display_server_windows.h index ddbf674c64..db9b589304 100644 --- a/platform/windows/display_server_windows.h +++ b/platform/windows/display_server_windows.h @@ -331,6 +331,8 @@ class DisplayServerWindows : public DisplayServer { HINSTANCE hInstance; // Holds The Instance Of The Application String rendering_driver; bool app_focused = false; + bool keep_screen_on = false; + HANDLE power_request; TTS_Windows *tts = nullptr; -- cgit v1.2.3