fix winlist uniconify/unshade

fix T1244
This commit is contained in:
Mike Blumenkrantz 2014-05-12 04:36:32 -04:00
parent 3bab4cbb05
commit 4c0665dd61
1 changed files with 4 additions and 5 deletions

View File

@ -297,7 +297,10 @@ e_winlist_hide(void)
evas_object_raise(ec->frame); evas_object_raise(ec->frame);
e_client_raise_latest_set(ec); e_client_raise_latest_set(ec);
} }
if (ec->iconic)
e_client_uniconify(ec);
if (ec->shaded)
e_client_unshade(ec, ec->shade_dir);
if ((e_config->focus_policy != E_FOCUS_CLICK) || if ((e_config->focus_policy != E_FOCUS_CLICK) ||
(e_config->winlist_warp_at_end) || (e_config->winlist_warp_at_end) ||
(e_config->winlist_warp_while_selecting)) (e_config->winlist_warp_while_selecting))
@ -306,10 +309,6 @@ e_winlist_hide(void)
} }
else if (!ec->lock_focus_out) else if (!ec->lock_focus_out)
{ {
if (ec->iconic)
e_client_uniconify(ec);
if (ec->shaded)
e_client_unshade(ec, ec->shade_dir);
evas_object_focus_set(ec->frame, 1); evas_object_focus_set(ec->frame, 1);
e_client_focus_latest_set(ec); e_client_focus_latest_set(ec);
} }