Evas: When we render using the wayland engine(s), if the object we are
authordevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 10 Aug 2012 13:08:22 +0000 (13:08 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 10 Aug 2012 13:08:22 +0000 (13:08 +0000)
rendering is in fact the framespace clip, then do not allow it to be
clipped to itself, just skip the clip set for it.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@75100 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_render.c

index 0a1f938..cc1c6f7 100644 (file)
@@ -1424,6 +1424,10 @@ evas_render_updates_internal(Evas *e,
 
              if (!(pclip = evas_object_clip_get(obj)))
                {
+                  /* skip clipping if the object is itself the 
+                   * framespace clip */
+                  if (obj == e->framespace.clip) continue;
+
                   /* clip this object so it does not draw on the window frame */
                   evas_object_clip_set(obj, e->framespace.clip);
                }