aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-04 16:34:40 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-04 16:37:21 +0900
commitfa4a72d3fcb6a96f6291a0717036b28277c78413 (patch)
treebccf2e8827dfbb68ff010841af383ace3dbf1bf7
parentefl: fix a neon build break. (diff)
downloadefl-fa4a72d3fcb6a96f6291a0717036b28277c78413.tar.gz
elm key events/disabling/focus - fix after another disabled widget fix
this fixes key events in rage again after ea2b5e40485a49b5c5aadae98ed379f1c3cf5f71 broke them. this fixes https://phab.enlightenment.org/T4285
-rw-r--r--src/lib/elementary/elm_widget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index 18e38daa53..529fef6b59 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -1024,7 +1024,8 @@ EOLIAN static Elm_Theme_Apply
_elm_widget_theme_apply(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED)
{
_elm_widget_mirrored_reload(obj);
- elm_widget_disabled_internal(obj, elm_widget_disabled_get(obj));
+ if (elm_widget_disabled_get(obj))
+ elm_widget_disabled_set(obj, elm_widget_disabled_get(obj));
return ELM_THEME_APPLY_SUCCESS;
}