From dff78c8f8b56b227a3a7ac74158c7e3c69c5c43b Mon Sep 17 00:00:00 2001 From: raster Date: Thu, 23 Feb 2012 04:09:05 +0000 Subject: [PATCH] can_focus ne3eds to be actually set - not just tested against git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68295 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_widget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c index bf4f75e..058ec18 100644 --- a/src/lib/elm_widget.c +++ b/src/lib/elm_widget.c @@ -1152,8 +1152,8 @@ elm_widget_can_focus_set(Evas_Object *obj, can_focus = !!can_focus; if (sd->can_focus == can_focus) return; - - if (can_focus) + sd->can_focus = can_focus; + if (sd->can_focus) { evas_object_event_callback_add(obj, EVAS_CALLBACK_KEY_DOWN, _propagate_event, -- 2.7.4