projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b113056
)
unfocus focused+disabled widget always, not just when focus jump fails
author
discomfitor
<michael.blumenkrantz@gmail.com>
Sat, 26 Oct 2013 08:53:15 +0000
(09:53 +0100)
committer
discomfitor
<michael.blumenkrantz@gmail.com>
Sat, 26 Oct 2013 08:53:15 +0000
(09:53 +0100)
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
src/bin/e_widget.c
patch
|
blob
|
history
diff --git
a/src/bin/e_widget.c
b/src/bin/e_widget.c
index eab7e69a88be54361167c80b53bb26f79383c470..ee8cc68c689d9fa770b07a4f1d4216c9de412a9a 100644
(file)
--- a/
src/bin/e_widget.c
+++ b/
src/bin/e_widget.c
@@
-460,7
+460,8
@@
e_widget_disabled_set(Evas_Object *obj, int disabled)
if (!o) break;
parent = o;
}
- if (!e_widget_focus_jump(parent, 1))
+ e_widget_focus_jump(parent, 1);
+ if (sd->focused)
{
sd->focused = 0;
if (sd->focus_func) sd->focus_func(obj);