e_hints: get the last inserted aux_hint. 45/103745/1
authorGwanglim Lee <gl77.lee@samsung.com>
Fri, 9 Dec 2016 09:16:27 +0000 (18:16 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Fri, 9 Dec 2016 09:16:27 +0000 (18:16 +0900)
In aux_hints list, last inserted aux_hint has higher priority
than first inserted aux_hint.

Change-Id: I00901470fa79a1b26c9dcefb08409bd03a559e98

src/bin/e_hints.c

index 15479a4..90258b8 100644 (file)
@@ -399,7 +399,7 @@ e_hints_aux_hint_value_get_with_pixmap(E_Pixmap *cp, const char *name)
    cdata = (E_Comp_Wl_Client_Data*)e_pixmap_cdata_get(cp);
    if (!cdata) return NULL;
 
-   EINA_LIST_FOREACH(cdata->aux_hint.hints, l, hint)
+   EINA_LIST_REVERSE_FOREACH(cdata->aux_hint.hints, l, hint)
      {
         if ((!hint->deleted) &&
             (!strcmp(hint->hint, name)))