don't set input shape differently on shaped_input clients
T931
This commit is contained in:
parent
a78d98700a
commit
e7127a93ff
|
@ -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->override || (!ec->comp_data->reparented)) return;
|
||||||
|
|
||||||
if (ec->shaped_input)
|
if (ec->visible && (!ec->comp_hidden))
|
||||||
ecore_x_composite_window_events_disable(win);
|
ecore_x_composite_window_events_enable(win);
|
||||||
else
|
else
|
||||||
{
|
ecore_x_composite_window_events_disable(win);
|
||||||
if (ec->visible && (!ec->comp_hidden))
|
|
||||||
ecore_x_composite_window_events_enable(win);
|
|
||||||
else
|
|
||||||
ecore_x_composite_window_events_disable(win);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue