-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Enable/Disable screensaver toggle #616
Copy link
Copy link
Closed as not planned
Labels
H - help wantedSomeone please save usSomeone please save usS - enhancementWouldn't this be the coolest?Wouldn't this be the coolest?
Description
I need a method on the window to disable/enable the screensaver.
When the window is closed the screensaver should be automatically reset to its previous state.
From memory resetting the screensaver state is normally handled by the os screensaver toggling api which takes a handle to the window and automatically resets when the window is closed closed.
I am somewhat familiar with the dolphin implementation of this https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/UICommon/UICommon.cpp#L365 and am happy to implement it for winit some time (windows + linux only), although I wont be free to do so in a long while, so I thought I'd post here in case anyone wanted to pick this up.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
H - help wantedSomeone please save usSomeone please save usS - enhancementWouldn't this be the coolest?Wouldn't this be the coolest?