window focus - fix focus switch action next/prev walk dead code

This commit is contained in:
Carsten Haitzler 2017-09-09 09:57:22 +09:00
parent eef7111e97
commit 041748b017
1 changed files with 3 additions and 7 deletions

View File

@ -3098,15 +3098,11 @@ ACT_FN_GO(window_focus, EINA_UNUSED)
{
if (_skip_win(ec, zone, desk)) continue;
if (ec == ec_orig)
{
found = 1;
return;
}
else if (!found) ec_prev = ec;
if (ec == ec_orig) found = 1;
else if (!found) ec_prev = ec;
else if ((found) && (!ec_next)) ec_next = ec;
if (!ec_first) ec_first = ec;
if (!ec_first) ec_first = ec;
ec_last = ec;
}
if (dir == -1) /* next */