[client] wm: optionally disable screensaver when requested in guest
This commit adds a new option, win:autoScreensaver, which when set to yes, automatically disables the screensaver when requested by an application running in the guest, and enables it when the application no longer wants it disabled. This is useful when doing media playback in the guest.
This commit is contained in:
1 parent
8e98f863b6
commit
0c9ecdfcb5
3 files changed
+42
-15
No files matched your search
@@ -92,6 +92,8 @@ struct AppState
|
||||
|
||||
uint64_t resizeTimeout;
|
||||
bool resizeDone;
|
||||
|
||||
bool autoIdleInhibitState;
|
||||
};
|
||||
|
||||
struct AppParams
|
||||
@@ -121,6 +123,7 @@ struct AppParams
|
||||
bool hideMouse;
|
||||
bool ignoreQuit;
|
||||
bool noScreensaver;
|
||||
bool autoScreensaver;
|
||||
bool grabKeyboard;
|
||||
bool grabKeyboardOnFocus;
|
||||
int escapeKey;
|
||||
|
||||
Reference in new issue
Block a user