forked from enlightenment/enlightenment
ptr - fix cursor getting stuck in resize after blanking
i now saw this... i don't know why now... and consistently. fixed. @fix
This commit is contained in:
parent
19724dc3e8
commit
ff90c852a7
|
@ -16,10 +16,13 @@ static Eina_Bool init = EINA_FALSE;
|
||||||
static inline void
|
static inline void
|
||||||
_e_pointer_theme_buf(E_Pointer *ptr, char cursor[1024])
|
_e_pointer_theme_buf(E_Pointer *ptr, char cursor[1024])
|
||||||
{
|
{
|
||||||
|
const char *type = ptr->type;
|
||||||
|
|
||||||
|
if (!type) type = "default";
|
||||||
if (ptr->color)
|
if (ptr->color)
|
||||||
snprintf(cursor, 1024, "e/pointer/enlightenment/%s/color", ptr->type);
|
snprintf(cursor, 1024, "e/pointer/enlightenment/%s/color", type);
|
||||||
else
|
else
|
||||||
snprintf(cursor, 1024, "e/pointer/enlightenment/%s/mono", ptr->type);
|
snprintf(cursor, 1024, "e/pointer/enlightenment/%s/mono", type);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
|
|
Loading…
Reference in New Issue