e wl pixmap - use id not xwin
copy & paste failure here. fix. found by asan. @fix
This commit is contained in:
parent
cbd507fb13
commit
d4340cb168
|
@ -1129,7 +1129,7 @@ e_pixmap_alias(E_Pixmap *cp, E_Pixmap_Type type, ...)
|
|||
id = va_arg(l, int64_t);
|
||||
if (!aliases[type])
|
||||
aliases[type] = eina_hash_int64_new(NULL);
|
||||
cp2 = eina_hash_find(aliases[type], &xwin);
|
||||
cp2 = eina_hash_find(aliases[type], &id);
|
||||
if ((cp2) && (!cp)) cp2->alias = 0;
|
||||
else if (cp) cp->alias = id;
|
||||
eina_hash_set(aliases[type], &id, cp);
|
||||
|
|
Loading…
Reference in New Issue