From 5b6527fbc6d3b1e94a919ccbbd4e556a0201ead5 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Wed, 16 Mar 2011 22:21:52 +0000 Subject: [PATCH] e17/comp: enable property sniffing of override redirect windows again. should there be a function in ecore_x to add event-mask elements? SVN revision: 57809 --- src/modules/comp/e_mod_comp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/comp/e_mod_comp.c b/src/modules/comp/e_mod_comp.c index 99258cefb..4c4ba1872 100644 --- a/src/modules/comp/e_mod_comp.c +++ b/src/modules/comp/e_mod_comp.c @@ -2,6 +2,7 @@ #include "e_mod_main.h" #include "e_mod_comp.h" #include "e_mod_comp_update.h" +#include #define OVER_FLOW 4 @@ -1737,6 +1738,9 @@ _e_mod_comp_win_add(E_Comp *c, Ecore_X_Window win) if (cw->argb) evas_object_image_alpha_set(cw->obj, 1); else evas_object_image_alpha_set(cw->obj, 0); + if (!(cw->bd || cw->pop || cw->menu)) + XSelectInput(ecore_x_display_get(), cw->win, (att.event_mask.mine | PropertyChangeMask)); + _e_mod_comp_win_shadow_setup(cw); edje_object_signal_callback_add(cw->shobj, "e,action,show,done", "e",