diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-05 23:47:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-05 23:47:20 +0200 |
commit | 04a66e1bab28990f1340e8c20dead25491da0baa (patch) | |
tree | 01615d0b5f65c524bb3d79a35523eb1a65883950 /platform/windows/display_server_windows.h | |
parent | 91f14c40ff049900dd55c082bbe91143148bcfc7 (diff) | |
parent | 00e788e6117fe0ca8b18477140fdc69c7b16a5b3 (diff) |
Merge pull request #63882 from RedMser/keep-screen-on-windows
Implement `keep_screen_on` for Windows
Diffstat (limited to 'platform/windows/display_server_windows.h')
-rw-r--r-- | platform/windows/display_server_windows.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |