Skip to content
Snippets Groups Projects
Commit 3bfc20ee authored by O H's avatar O H Committed by Sean Davis
Browse files

pass constants to XSetScreenSaver


Signed-off-by: default avatarOlaf Hering <olaf@aepfle.de>
parent e2ba3037
No related branches found
No related tags found
No related merge requests found
......@@ -315,7 +315,7 @@ gs_listener_x11_set_timeouts (GSListenerX11 *listener) {
gboolean trigger_reset_timer = FALSE;
/* set X server timeouts and disable screen blanking */
XSetScreenSaver(display, timeout, timeout, 0, 0);
XSetScreenSaver(display, timeout, timeout, DontPreferBlanking, DontAllowExposures);
if (listener->priv->timeout != timeout) {
listener->priv->timeout = timeout;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment