http://bugzilla.gnome.org/show_bug.cgi?id=135908 restart the screensaver
2004-03-02 Jody Goldberg <jody@gnome.org> http://bugzilla.gnome.org/show_bug.cgi?id=135908 * main.c (apply_config) : restart the screensaver
This commit is contained in:
parent
26139a231b
commit
a18071b458
1 changed files with 5 additions and 0 deletions
|
@ -151,6 +151,11 @@ apply_config (struct DisplayInfo *info)
|
|||
}
|
||||
}
|
||||
|
||||
/* xscreensaver should handle this itself, but does not currently so we hack
|
||||
* it. Ignore failures in case xscreensaver is not installed */
|
||||
if (changed)
|
||||
g_spawn_command_line_async ("xscreensaver-command -restart", NULL);
|
||||
|
||||
return changed;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue