diff --git a/src/modules/everything/evry_plug_aggregator.c b/src/modules/everything/evry_plug_aggregator.c index c33ec6227..322812235 100644 --- a/src/modules/everything/evry_plug_aggregator.c +++ b/src/modules/everything/evry_plug_aggregator.c @@ -33,10 +33,11 @@ _fetch(Evry_Plugin *plugin, const char *input) else input = NULL; - if (eina_list_data_get(sel->states) == s) + if ((eina_list_count(sel->states) == 1)) top_level = 1; - /* get current items' context */ + /* get current items' context, + * which is the previous selectors selected item */ if (sel == sels[0]) { subj_sel = 1; diff --git a/src/modules/everything/evry_view.c b/src/modules/everything/evry_view.c index fb51f1699..4330e6056 100644 --- a/src/modules/everything/evry_view.c +++ b/src/modules/everything/evry_view.c @@ -124,13 +124,6 @@ _check_item(const Evry_Item *it) return 0; } -static int _sort_pos_cb(const void *d1, const void *d2) -{ - const Item *it1 = d1; - const Item *it2 = d2; - return ((it1->x + it1->y * 4) - (it2->x + it2->y * 4)); -} - static void _item_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info) {