diff src/video/x11/SDL_x11events.c @ 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 62d4992e5a92
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",