[client] displayserver: move screensaver handling into displayservers

This also makes Wayland idle inhibition respect noScreensaver setting.
This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-01-19 19:58:11 +11:00
1 parent 44a949f5c6
commit 2f11024db8
5 files changed
+33 -8

No files matched your search

+4
View File
@@ -100,6 +100,10 @@ struct LG_DisplayServerOps
* deltas */
void (*realignPointer)();
/* called to disable/enable the screensaver */
void (*inhibitIdle)();
void (*uninhibitIdle)();
/* clipboard support */
bool (* cbInit)(void);
void (* cbNotice)(LG_ClipboardData type);