[mutter/wip/surface-content: 2/13] window-actor: Remove suspicious optimization
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/surface-content: 2/13] window-actor: Remove suspicious optimization
- Date: Mon, 16 Dec 2013 20:20:50 +0000 (UTC)
commit 08255582ad80da22a0b3cccbc216e75e69f704bd
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Dec 6 11:44:42 2013 -0500
window-actor: Remove suspicious optimization
Calling get_paint_volume() should not modify internal state.
src/compositor/meta-window-actor.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index be54ec2..6cf2819 100644
--- a/src/compositor/meta-window-actor.c
+++ b/src/compositor/meta-window-actor.c
@@ -721,9 +721,6 @@ meta_window_actor_get_paint_volume (ClutterActor *actor,
gdk_rectangle_union (&bounds, &shadow_bounds, &bounds);
}
- if (priv->unobscured_region)
- cairo_region_intersect_rectangle (priv->unobscured_region, &bounds);
-
origin.x = bounds.x;
origin.y = bounds.y;
origin.z = 0.0f;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]