[mutter/meego-1.0: 7/30] [MutterShadow] Fix attachment of default shadow



commit 72400b63c2d2f5877dad831335df3a6919be78f0
Author: Tomas Frydrych <tf linux intel com>
Date:   Thu Apr 1 07:29:44 2010 +0100

    [MutterShadow] Fix attachment of default shadow
    
    (Merge into the main shadow patch at next rebase.)

 src/compositor/mutter-shadow.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/compositor/mutter-shadow.c b/src/compositor/mutter-shadow.c
index 5edde1e..7f4f5ed 100644
--- a/src/compositor/mutter-shadow.c
+++ b/src/compositor/mutter-shadow.c
@@ -72,9 +72,11 @@ mutter_shadow_create_for_window (MetaCompositor *compositor, MutterWindow *mcw)
                                   MAX_TILE_SZ,
                                   MAX_TILE_SZ);
 
-  shadow->actor       = frame;
-  shadow->attach_left = SHADOW_OFFSET_X;
-  shadow->attach_top  = SHADOW_OFFSET_Y;
+  shadow->actor         = frame;
+  shadow->attach_left   = SHADOW_OFFSET_X;
+  shadow->attach_top    = SHADOW_OFFSET_Y;
+  shadow->attach_right  = SHADOW_RADIUS;
+  shadow->attach_bottom = SHADOW_RADIUS;
 
   return shadow;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]