discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=0803d07f7b7b828ac60e8b3caa4c051c194bccb0

commit 0803d07f7b7b828ac60e8b3caa4c051c194bccb0
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Apr 21 16:32:01 2016 -0400

    don't force full damage on x11 override clients
    
    reverts f6be76122637d47fdca7505c896bbf5512e2c8c1
    
    this didn't fix anything and can cause irregularities in rendering
---
 src/bin/e_comp_x.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 0f782ca..ad7b007 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -2897,8 +2897,6 @@ _e_comp_x_damage(void *data EINA_UNUSED, int type 
EINA_UNUSED, Ecore_X_Event_Dam
    ec = _e_comp_x_client_find_by_damage(ev->damage);
    if ((!ec) || e_object_is_del(E_OBJECT(ec))) return ECORE_CALLBACK_PASS_ON;
    skip = ec->shape_rects_num > 50;
-   if (ec->override && (!_e_comp_x_client_data_get(ec)->first_damage))
-     skip = EINA_TRUE;
    if (_e_comp_x_client_data_get(ec)->damage)
      {
         Ecore_X_Region parts;
@@ -2916,7 +2914,7 @@ _e_comp_x_damage(void *data EINA_UNUSED, int type 
EINA_UNUSED, Ecore_X_Event_Dam
      e_pixmap_dirty(ec->pixmap);
    else if (skip)
      e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
-   else if (n)
+   else
      {
         int i;
 

-- 


Reply via email to