Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Don't complain when the GNOME screensaver isn't running (or available)
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 12, 2009
1 parent f181e58 commit c5765dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/video/x11/SDL_x11events.c
Expand Up @@ -419,9 +419,9 @@ static void gnome_screensaver_disable()
{
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",
Expand Down

0 comments on commit c5765dd

Please sign in to comment.