discomfitor pushed a commit to branch master.

commit 4bbafeebb318fba62ae64bc3f7bafa8a728961b0
Author: discomfitor <[email protected]>
Date:   Sat May 18 13:28:29 2013 +0100

    using pixmap w/h directly for comp mirrors is probably infinitesimally 
faster here
---
 src/bin/e_comp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 033765a..6dc575c 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -1962,7 +1962,7 @@ _e_comp_win_mirror_add(E_Comp_Win *cw)
         Eina_Bool alpha, argb = EINA_FALSE;
 
         alpha = evas_object_image_alpha_get(cw->obj);
-        evas_object_image_size_get(cw->obj, &w, &h);
+        w = cw->pw, h = cw->ph;
 
         evas_object_image_alpha_set(o, alpha);
 

-- 

------------------------------------------------------------------------------
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

Reply via email to