forked from enlightenment/enlightenment
parent
3aa126a90d
commit
31994d4876
|
@ -1349,7 +1349,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
|
||||||
{
|
{
|
||||||
ec->take_focus = !starting || ec->internal_elm_win;
|
ec->take_focus = !starting || ec->internal_elm_win;
|
||||||
ec->want_focus = ec->override && !e_client_util_is_popup(ec) && !ec->parent;
|
ec->want_focus = ec->override && !e_client_util_is_popup(ec) && !ec->parent;
|
||||||
if (ec->parent && (!ec->lock_user_location))
|
if (ec->parent && (!ec->lock_user_location) && (!e_client_util_is_popup(ec)))
|
||||||
e_comp_object_util_center_on(ec->frame, ec->parent->frame);
|
e_comp_object_util_center_on(ec->frame, ec->parent->frame);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue