From d30972a7ab5733190d56af9808be53f03836d758 Mon Sep 17 00:00:00 2001 From: WooHyun Jung Date: Fri, 27 May 2011 10:47:52 +0000 Subject: [PATCH] From: WooHyun Jung Subject: [E-devel] [Patch] elm_widget_focus_steal should be executed only with "can_focus" object. I think elm_widget_focus_steal function should be executed only with "can_focus" widget object. ("Cannot_focus" object has no right to steal focus from others !!) SVN revision: 59733 --- src/lib/elm_widget.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c index 083abd9..a64eec1 100644 --- a/src/lib/elm_widget.c +++ b/src/lib/elm_widget.c @@ -1711,6 +1711,7 @@ elm_widget_focus_steal(Evas_Object *obj) if (sd->focused) return; if (sd->disabled) return; + if (!sd->can_focus) return; parent = obj; for (;;) { -- 2.7.4