forked from enlightenment/enlightenment
e17/comp: finally. only set PropertyChangeMask on override windows for which we dont have it already.
removes Xlib header. causes a second round-trip for ecore_x_event_mask_set. but should not happen that often i guess SVN revision: 57811
This commit is contained in:
parent
d5f998a4a4
commit
d69ce12435
|
@ -2,7 +2,6 @@
|
|||
#include "e_mod_main.h"
|
||||
#include "e_mod_comp.h"
|
||||
#include "e_mod_comp_update.h"
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
#define OVER_FLOW 4
|
||||
|
||||
|
@ -1738,8 +1737,8 @@ _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));
|
||||
if (att.override && !(att.event_mask.mine & ECORE_X_EVENT_MASK_WINDOW_PROPERTY))
|
||||
ecore_x_event_mask_set(cw->win, ECORE_X_EVENT_MASK_WINDOW_PROPERTY);
|
||||
|
||||
_e_mod_comp_win_shadow_setup(cw);
|
||||
|
||||
|
|
Loading…
Reference in New Issue