projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72ea7db
)
add extra safety checks.
author
Carsten Haitzler
<raster@rasterman.com>
Thu, 22 Oct 2009 12:08:20 +0000
(12:08 +0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Thu, 22 Oct 2009 12:08:20 +0000
(12:08 +0000)
SVN revision: 43199
src/lib/elm_main.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_main.c
b/src/lib/elm_main.c
index a67f66db9c98ff267ebfb05750692437582aee4c..e75c0c85fa2d16e2352d339b8635678c7daa9036 100644
(file)
--- a/
src/lib/elm_main.c
+++ b/
src/lib/elm_main.c
@@
-1262,6
+1262,7
@@
elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coor
EAPI void
elm_object_focus(Evas_Object *obj)
{
+ if (!elm_widget_can_focus_get(obj)) return;
elm_widget_focus_set(obj, 1);
}