forked from enlightenment/enlightenment
use focus_set_with_pointer to focus from clients menu (middle click)
fixes pointer warping for this case
This commit is contained in:
parent
9c23fbaf28
commit
9076301213
|
@ -1623,11 +1623,7 @@ _e_int_menus_clients_item_cb(void *data, E_Menu *m EINA_UNUSED, E_Menu_Item *mi
|
||||||
|
|
||||||
if (!ec->iconic) e_desk_show(ec->desk);
|
if (!ec->iconic) e_desk_show(ec->desk);
|
||||||
if (!ec->lock_user_stacking) evas_object_raise(ec->frame);
|
if (!ec->lock_user_stacking) evas_object_raise(ec->frame);
|
||||||
if (!ec->lock_focus_out)
|
e_client_focus_set_with_pointer(ec);
|
||||||
{
|
|
||||||
e_util_pointer_center(ec);
|
|
||||||
evas_object_focus_set(ec->frame, 1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue