Commit 9116448b authored by Sam Lantinga's avatar Sam Lantinga

Don't complain when the GNOME screensaver isn't running (or available)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403493
parent 538276cc
...@@ -419,9 +419,9 @@ static void gnome_screensaver_disable() ...@@ -419,9 +419,9 @@ static void gnome_screensaver_disable()
{ {
screensaver_inhibit_pid = fork(); screensaver_inhibit_pid = fork();
if (screensaver_inhibit_pid == 0) { if (screensaver_inhibit_pid == 0) {
//close(0); close(0);
//close(1); close(1);
//close(2); close(2);
execl("/usr/bin/gnome-screensaver-command", execl("/usr/bin/gnome-screensaver-command",
"gnome-screensaver-command", "gnome-screensaver-command",
"--inhibit", "--inhibit",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment