From a18071b458ec9074d26c75c20094d9ea29e90317 Mon Sep 17 00:00:00 2001 From: Jody Goldberg Date: Tue, 2 Mar 2004 17:01:47 +0000 Subject: [PATCH] http://bugzilla.gnome.org/show_bug.cgi?id=135908 restart the screensaver 2004-03-02 Jody Goldberg http://bugzilla.gnome.org/show_bug.cgi?id=135908 * main.c (apply_config) : restart the screensaver --- capplets/display/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/capplets/display/main.c b/capplets/display/main.c index b9553b326..e459bbdc7 100644 --- a/capplets/display/main.c +++ b/capplets/display/main.c @@ -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; }