select shape events for override clients

This commit is contained in:
Mike Blumenkrantz 2014-01-22 21:40:47 -05:00
parent d5ce4e0517
commit 2d29661541
1 changed files with 2 additions and 0 deletions

View File

@ -204,6 +204,8 @@ _e_comp_x_client_new_helper(E_Client *ec)
e_pixmap_visual_cmap_set(ec->pixmap, ec->comp_data->initial_attributes.visual, ec->comp_data->initial_attributes.colormap);
if (ec->override && (!ec->internal))
ecore_x_window_shape_events_select(win, 1);
if (ec->override && (!ec->input_only))
ecore_x_present_select_events(win, ECORE_X_PRESENT_EVENT_MASK_CONFIGURE_NOTIFY);
if (ec->override && (!(ec->comp_data->initial_attributes.event_mask.mine & ECORE_X_EVENT_MASK_WINDOW_PROPERTY)))