fixed window focus and keyboard input issues
authorToan Pham <reset.pointer@gmail.com>
Fri, 12 Jun 2015 00:04:41 +0000 (20:04 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Fri, 12 Jun 2015 00:05:09 +0000 (20:05 -0400)
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

src/bin/e_actions.c

index ca66311..4bb62ef 100644 (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);