mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 23:37:09 -05:00
Don't complain when the GNOME screensaver isn't running (or available)
This commit is contained in:
parent
081e30b877
commit
b9aa239ff3
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user