set comp object client_inset.calc based on frame_object existence
authorMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 24 Sep 2015 20:04:29 +0000 (16:04 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 24 Sep 2015 20:33:56 +0000 (16:33 -0400)
src/bin/e_comp_object.c

index 52401b8..f06c264 100644 (file)
@@ -1679,7 +1679,7 @@ _e_comp_object_frame_recalc(E_Comp_Object *cw)
         cw->client_inset.t = 0;
         cw->client_inset.b = 0;
      }
-   cw->client_inset.calc = 1;
+   cw->client_inset.calc = !!cw->frame_object;
 }
 
 static void