discomfitor pushed a commit to branch master.
commit 7749fddaa0ebc9ff2065d9ff09bea24f6681a36b
Author: Mike Blumenkrantz <[email protected]>
Date: Mon May 20 12:18:21 2013 +0100
set comp mirror image size before setting image data -> no more
black/garbage mirrors
---
src/bin/e_comp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 58e6cdd..d5f2e30 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -1967,6 +1967,7 @@ _e_comp_win_mirror_add(E_Comp_Win *cw)
w = cw->pw, h = cw->ph;
evas_object_image_alpha_set(o, alpha);
+ evas_object_image_size_set(o, w, h);
if (cw->shaped)
pix = evas_object_image_data_get(cw->obj, 0);
@@ -1976,7 +1977,6 @@ _e_comp_win_mirror_add(E_Comp_Win *cw)
{
Evas_Native_Surface ns;
- evas_object_image_size_set(o, w, h);
ns.version = EVAS_NATIVE_SURFACE_VERSION;
ns.type = EVAS_NATIVE_SURFACE_X11;
ns.data.x11.visual = cw->vis;
@@ -1997,7 +1997,6 @@ _e_comp_win_mirror_add(E_Comp_Win *cw)
evas_object_image_data_set(o, pix);
if (!argb)
evas_object_image_data_set(cw->obj, pix);
- evas_object_image_size_set(o, w, h);
}
}
else if (cw->real_obj)
--
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d