unshade clients when activating
authorMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 8 Sep 2015 21:01:36 +0000 (17:01 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 8 Sep 2015 21:01:36 +0000 (17:01 -0400)
fixes issue where an activated client on another vdesk which was shaded
would appear to be unshaded but was, in fact, shaded

src/bin/e_client.c

index 8e64150..391bb5c 100644 (file)
@@ -3578,6 +3578,8 @@ e_client_activate(E_Client *ec, Eina_Bool just_do_it)
           }
         if (!ec->lock_user_stacking)
           evas_object_raise(ec->frame);
+        if (ec->shaded || ec->shading)
+          e_client_unshade(ec, ec->shade_dir);
         if (!ec->lock_focus_out)
           {
              /* XXX ooffice does send this request for