fix ibar wheel scrolling with only one exe

This commit is contained in:
Mike Blumenkrantz 2014-07-14 12:31:57 -04:00
parent 62c478b978
commit 8c65d7452e
1 changed files with 4 additions and 2 deletions

View File

@ -1702,8 +1702,10 @@ _ibar_cb_icon_wheel(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__,
{ {
if (ic->exe_current) if (ic->exe_current)
{ {
if ((exe = eina_list_data_get(ic->exe_current))) exe = eina_list_data_get(ic->exe_current);
sel = eina_list_data_get(exe->clients); sel = eina_list_data_get(exe->clients);
if (sel == cur)
sel = eina_list_data_get(eina_list_next(exe->clients));
} }
} }