projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e376db9
)
elm_win: conditionally emit focus and maximize signals in frame creation
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Mon, 4 Apr 2016 21:20:49 +0000
(17:20 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Mon, 4 Apr 2016 22:00:26 +0000
(18:00 -0400)
@fix
src/lib/elementary/elm_win.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_win.c
b/src/lib/elementary/elm_win.c
index
7e0f17c
..
fea5124
100644
(file)
--- a/
src/lib/elementary/elm_win.c
+++ b/
src/lib/elementary/elm_win.c
@@
-3149,6
+3149,10
@@
_elm_win_frame_add(Elm_Win_Data *sd,
edje_object_part_text_escaped_set
(sd->frame_obj, "elm.text.title", sd->title);
}
+ if (ecore_evas_focus_get(sd->ee))
+ edje_object_signal_emit(sd->frame_obj, "elm,action,focus", "elm");
+ if (ecore_evas_maximized_get(sd->ee))
+ edje_object_signal_emit(sd->frame_obj, "elm,state,maximize", "elm");
ecore_evas_geometry_get(sd->ee, NULL, NULL, &w, &h);
ecore_evas_resize(sd->ee, w, h);