forked from enlightenment/enlightenment
unfocus focused+disabled widget always, not just when focus jump fails
pretty sure this doesn't affect anything in e18, but it does break things in a really hard to reproduce setting involving clicking/disabling/focusing widgets simultaneously
This commit is contained in:
parent
b11305652d
commit
b67381916e
|
@ -460,7 +460,8 @@ e_widget_disabled_set(Evas_Object *obj, int disabled)
|
||||||
if (!o) break;
|
if (!o) break;
|
||||||
parent = o;
|
parent = o;
|
||||||
}
|
}
|
||||||
if (!e_widget_focus_jump(parent, 1))
|
e_widget_focus_jump(parent, 1);
|
||||||
|
if (sd->focused)
|
||||||
{
|
{
|
||||||
sd->focused = 0;
|
sd->focused = 0;
|
||||||
if (sd->focus_func) sd->focus_func(obj);
|
if (sd->focus_func) sd->focus_func(obj);
|
||||||
|
|
Loading…
Reference in New Issue