summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'video.c')
-rw-r--r--video.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/video.c b/video.c
index e984faa..6635daa 100644
--- a/video.c
+++ b/video.c
@@ -10554,7 +10554,9 @@ void VideoExit(void)
if (!XlibDisplay) { // no init or failed
return;
}
- // reenable x11 screensaver
+ //
+ // Reenable screensaver / DPMS.
+ //
X11DPMSReenable(Connection);
X11SuspendScreenSaver(Connection, 0);
@@ -10573,12 +10575,6 @@ void VideoExit(void)
#endif
//
- // Reenable screensaver / DPMS.
- //
- //X11SuspendScreenSaver(XlibDisplay, False);
- //X11DPMSEnable(XlibDisplay);
-
- //
// FIXME: cleanup.
//
//RandrExit();