don't set input shape differently on shaped_input clients

T931
This commit is contained in:
Mike Blumenkrantz 2014-02-10 09:45:53 -05:00
parent a78d98700a
commit e7127a93ff
1 changed files with 3 additions and 8 deletions

View File

@ -702,16 +702,11 @@ _e_comp_x_client_shape_input_rectangle_set(E_Client *ec)
if (ec->override || (!ec->comp_data->reparented)) return; if (ec->override || (!ec->comp_data->reparented)) return;
if (ec->shaped_input)
ecore_x_composite_window_events_disable(win);
else
{
if (ec->visible && (!ec->comp_hidden)) if (ec->visible && (!ec->comp_hidden))
ecore_x_composite_window_events_enable(win); ecore_x_composite_window_events_enable(win);
else else
ecore_x_composite_window_events_disable(win); ecore_x_composite_window_events_disable(win);
} }
}
static void static void
_e_comp_x_evas_color_set_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) _e_comp_x_evas_color_set_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)