select shape events for override clients
authorMike Blumenkrantz <zmike@samsung.com>
Thu, 23 Jan 2014 02:40:47 +0000 (21:40 -0500)
committerMike Blumenkrantz <zmike@samsung.com>
Thu, 23 Jan 2014 03:14:33 +0000 (22:14 -0500)
src/bin/e_comp_x.c

index a5000ff..2a8b83c 100644 (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)))