summaryrefslogtreecommitdiff
path: root/src/lib/elm_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elm_main.c')
-rw-r--r--src/lib/elm_main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/elm_main.c b/src/lib/elm_main.c
index 4bb135e6f..67d46f22b 100644
--- a/src/lib/elm_main.c
+++ b/src/lib/elm_main.c
@@ -1346,13 +1346,10 @@ elm_object_focus_set(Evas_Object *obj,
1346 1346
1347 if (elm_widget_is(obj)) 1347 if (elm_widget_is(obj))
1348 { 1348 {
1349 const char *type;
1350
1351 if (focus == elm_widget_focus_get(obj)) return; 1349 if (focus == elm_widget_focus_get(obj)) return;
1352 1350
1353 // ugly, but, special case for inlined windows 1351 // ugly, but, special case for inlined windows
1354 type = evas_object_type_get(obj); 1352 if (eo_isa(obj, ELM_WIN_CLASS))
1355 if ((type) && (!strcmp(type, "elm_win")))
1356 { 1353 {
1357 Evas_Object *inlined = elm_win_inlined_image_object_get(obj); 1354 Evas_Object *inlined = elm_win_inlined_image_object_get(obj);
1358 1355