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,15 +702,10 @@ _e_comp_x_client_shape_input_rectangle_set(E_Client *ec)
if (ec->override || (!ec->comp_data->reparented)) return;
if (ec->shaped_input)
ecore_x_composite_window_events_disable(win);
if (ec->visible && (!ec->comp_hidden))
ecore_x_composite_window_events_enable(win);
else
{
if (ec->visible && (!ec->comp_hidden))
ecore_x_composite_window_events_enable(win);
else
ecore_x_composite_window_events_disable(win);
}
ecore_x_composite_window_events_disable(win);
}
static void