summaryrefslogtreecommitdiff
path: root/plugins/background/msd-background-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/background/msd-background-manager.c')
-rw-r--r--plugins/background/msd-background-manager.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/background/msd-background-manager.c b/plugins/background/msd-background-manager.c
index c98a225..b347c53 100644
--- a/plugins/background/msd-background-manager.c
+++ b/plugins/background/msd-background-manager.c
@@ -473,8 +473,11 @@ background_handling_changed (GSettings *settings,
const char *key,
MsdBackgroundManager *manager)
{
- if (dont_draw_background (manager) == FALSE)
- queue_timeout (manager);
+ if (!dont_draw_background (manager) &&
+ !caja_is_drawing_background (manager))
+ {
+ queue_timeout (manager);
+ }
}
gboolean