[gnome-shell] st-theme-node: fix obvious size comparison error



commit 1c04ae3216a007b2b2e49380b76374e6f22ef60f
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Wed Jul 10 16:07:22 2013 +0100

    st-theme-node: fix obvious size comparison error
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703997

 src/st/st-theme-node-drawing.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/st/st-theme-node-drawing.c b/src/st/st-theme-node-drawing.c
index e8ba869..9e052a5 100644
--- a/src/st/st-theme-node-drawing.c
+++ b/src/st/st-theme-node-drawing.c
@@ -2347,7 +2347,7 @@ st_theme_node_needs_new_box_shadow_for_size (StThemeNodePaintState *state,
 
   /* The allocation hasn't changed, no need to recompute a new
      box-shadow. */
-  if (state->alloc_width == width ||
+  if (state->alloc_width == width &&
       state->alloc_height == height)
     return FALSE;
 


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