changeset 3031:86918831452f

Don't complain when the GNOME screensaver isn't running (or available)
author Sam Lantinga <slouken@libsdl.org>
date Mon, 12 Jan 2009 08:28:17 +0000
parents f13ad181f5b2
children 77c3e67f0740
files src/video/x11/SDL_x11events.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/x11/SDL_x11events.c	Mon Jan 12 08:26:24 2009 +0000
+++ b/src/video/x11/SDL_x11events.c	Mon Jan 12 08:28:17 2009 +0000
@@ -419,9 +419,9 @@
 {
     screensaver_inhibit_pid = fork();
     if (screensaver_inhibit_pid == 0) {
-        //close(0);
-        //close(1);
-        //close(2);
+        close(0);
+        close(1);
+        close(2);
         execl("/usr/bin/gnome-screensaver-command",
               "gnome-screensaver-command",
               "--inhibit",