fixed window focus and keyboard input issues

Summary: fixed window focus and keyboard input issues if the to-be-focused window is in an iconized state

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2644
This commit is contained in:
Toan Pham 2015-06-11 20:04:41 -04:00 committed by Mike Blumenkrantz
parent 09d9384f1d
commit fa40a9406b
1 changed files with 5 additions and 0 deletions

View File

@ -1149,6 +1149,11 @@ window_jump_to(const char *params)
/* Change the virtual desktop if the window isn't on the current virtual desktop */
e_desk_show(ec->desk);
/* A minimized window wont be focusable for key input, un-minimize it */
if (!ec->lock_user_iconify)
e_client_uniconify(ec);
evas_object_raise(ec->frame);
if (ec->zone != current_zone)
e_util_pointer_center(ec);