# HG changeset patch # User Sam Lantinga # Date 1231748897 0 # Node ID 86918831452ff58248141f6d54b661e57a62ad40 # Parent f13ad181f5b2968a4e5326248832e55bc06008fb Don't complain when the GNOME screensaver isn't running (or available) diff -r f13ad181f5b2 -r 86918831452f src/video/x11/SDL_x11events.c --- 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",