summaryrefslogtreecommitdiff
path: root/src/compositor/meta-background-content.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/meta-background-content.c')
-rw-r--r--src/compositor/meta-background-content.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compositor/meta-background-content.c b/src/compositor/meta-background-content.c
index 7990ad47b..b2da6b03f 100644
--- a/src/compositor/meta-background-content.c
+++ b/src/compositor/meta-background-content.c
@@ -532,8 +532,8 @@ meta_background_content_paint_content (ClutterContent *content,
clutter_actor_get_transformed_size (actor,
&transformed_width,
&transformed_height);
- rect_within_stage.width = roundf (transformed_width);
- rect_within_stage.height = roundf (transformed_height);
+ rect_within_stage.width = ceilf (transformed_width);
+ rect_within_stage.height = ceilf (transformed_height);
untransformed =
rect_within_actor.x == rect_within_stage.x &&