[mutter] Don't explicitly set the size of the MutterWindow texture
- From: Tomas Frydrych <tomasf src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [mutter] Don't explicitly set the size of the MutterWindow texture
- Date: Fri, 31 Jul 2009 12:37:49 +0000 (UTC)
commit 1f90529365f38efdafc4b85be1c4a5e048b5573f
Author: Thomas Wood <thomas wood intel com>
Date: Mon Jun 15 16:01:20 2009 +0100
Don't explicitly set the size of the MutterWindow texture
Setting the size of the texture causes the minimum and preferred width and
height values to be fixed at the set value. The normal requisition functions
of ClutterTexture will already report the size of the texture pixmap as the
natural size, but also allow scaling down as needed if less space is
available. We don't need that here, but we want to allow someone to make
a ClutterClone of the texture actor.
src/compositor/mutter-window.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/compositor/mutter-window.c b/src/compositor/mutter-window.c
index 4635b5e..4e03426 100644
--- a/src/compositor/mutter-window.c
+++ b/src/compositor/mutter-window.c
@@ -1512,8 +1512,6 @@ check_needs_repair (MutterWindow *self)
"pixmap-height", &pxm_height,
NULL);
- clutter_actor_set_size (priv->actor, pxm_width, pxm_height);
-
if (priv->shadow)
clutter_actor_set_size (priv->shadow, pxm_width, pxm_height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]