fix comp mirrors for argb xim non-native wins
authordiscomfitor <mike@zentific.com>
Sat, 18 May 2013 11:19:16 +0000 (12:19 +0100)
committerdiscomfitor <mike@zentific.com>
Sat, 18 May 2013 18:39:51 +0000 (19:39 +0100)
src/bin/e_comp.c

index bee5e2a..033765a 100644 (file)
@@ -1989,10 +1989,11 @@ _e_comp_win_mirror_add(E_Comp_Win *cw)
                     pix = evas_object_image_data_get(cw->obj, EINA_FALSE);
                }
           }
-        if (pix && (!argb))
+        if (pix)
           {
              evas_object_image_data_set(o, pix);
-             evas_object_image_data_set(cw->obj, pix);
+             if (!argb)
+               evas_object_image_data_set(cw->obj, pix);
           }
         evas_object_image_size_set(o, w, h);
      }