Don't complain when the GNOME screensaver isn't running (or available)
authorSam Lantinga <slouken@libsdl.org>
Mon, 12 Jan 2009 08:28:17 +0000
changeset 303186918831452f
parent 3030 f13ad181f5b2
child 3032 77c3e67f0740
Don't complain when the GNOME screensaver isn't running (or available)
src/video/x11/SDL_x11events.c
     1.1 --- a/src/video/x11/SDL_x11events.c	Mon Jan 12 08:26:24 2009 +0000
     1.2 +++ b/src/video/x11/SDL_x11events.c	Mon Jan 12 08:28:17 2009 +0000
     1.3 @@ -419,9 +419,9 @@
     1.4  {
     1.5      screensaver_inhibit_pid = fork();
     1.6      if (screensaver_inhibit_pid == 0) {
     1.7 -        //close(0);
     1.8 -        //close(1);
     1.9 -        //close(2);
    1.10 +        close(0);
    1.11 +        close(1);
    1.12 +        close(2);
    1.13          execl("/usr/bin/gnome-screensaver-command",
    1.14                "gnome-screensaver-command",
    1.15                "--inhibit",