discomfitor pushed a commit to branch master.

commit 9b8c5862027a967869de8993c0884b3afc34ef4d
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue May 7 11:42:02 2013 +0100

    fix input shapes for input windows: desk flipping once again functional
---
 src/bin/e_comp.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 9951433..f5ae7c1 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -2164,7 +2164,7 @@ _e_comp_win_add(E_Comp *c, Ecore_X_Window win, E_Border 
*bd)
         if (cw->override && !(att.event_mask.mine & 
ECORE_X_EVENT_MASK_WINDOW_PROPERTY))
           ecore_x_event_mask_set(cw->win, ECORE_X_EVENT_MASK_WINDOW_PROPERTY);
      }
-   if ((!cw->bd) && (!cw->menu) && (!cw->input_only))
+   if ((!cw->bd) && (!cw->menu))
      {
         char *netwm_title = NULL;
 
@@ -2446,9 +2446,9 @@ _e_comp_win_show(E_Comp_Win *cw)
    Evas_Object *o;
    int pw, ph;
 
-   if (cw->visible || cw->input_only || cw->invalid) return;
-   pw = cw->pw, ph = cw->ph;
+   if (cw->visible || cw->invalid) return;
    cw->visible = 1;
+   pw = cw->pw, ph = cw->ph;
    DBG("  [0x%x] sho ++ [redir=%i, pm=%x, dmg_up=%i]",
        cw->win, cw->redirected, cw->pixmap, cw->dmg_updates);
    _e_comp_win_configure(cw, cw->hidden.x, cw->hidden.y, cw->w, cw->h, 
cw->border);
@@ -2456,8 +2456,10 @@ _e_comp_win_show(E_Comp_Win *cw)
    if (cw->input_only)
      {
         if (!cw->shape) return;
+        cw->real_hid = 0;
         cw->shape->visible = 0;
         e_container_shape_show(cw->shape);
+        return;
      }
    cw->show_anim = EINA_FALSE;
 

-- 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may

Reply via email to