summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eel/eel-background.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eel/eel-background.c b/eel/eel-background.c
index f79797c8..ceaa972f 100644
--- a/eel/eel-background.c
+++ b/eel/eel-background.c
@@ -431,7 +431,7 @@ set_root_surface (EelBackground *self,
} else {
int width, height;
drawable_get_adjusted_size (self, &width, &height);
- if ((GDK_IS_X11_DISPLAY (display)) || (self->details->bg_surface == NULL))
+ if ((GDK_IS_X11_DISPLAY (display)) && (self->details->bg_surface == NULL))
self->details->bg_surface = mate_bg_create_surface (self->details->bg, window,
width, height, TRUE);
}