don't select shape events for input_only clients, do set for internal clients
authorMike Blumenkrantz <zmike@samsung.com>
Thu, 23 Jan 2014 03:34:01 +0000 (22:34 -0500)
committerMike Blumenkrantz <zmike@samsung.com>
Thu, 23 Jan 2014 03:34:01 +0000 (22:34 -0500)
src/bin/e_comp_x.c

index 88a7ade..ea4b5fb 100644 (file)
@@ -204,7 +204,7 @@ _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))
+   if (ec->override && (!ec->input_only))
      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);