projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64404cd
)
Hide unseted evas object to avoid focus and event callback problem
author
JongHeon Choi
<j-h.choi@samsung.com>
Thu, 12 May 2016 01:15:26 +0000
(10:15 +0900)
committer
JongHeon Choi
<j-h.choi@samsung.com>
Thu, 12 May 2016 01:15:26 +0000
(10:15 +0900)
runtime/browser/native_window.cc
patch
|
blob
|
history
diff --git
a/runtime/browser/native_window.cc
b/runtime/browser/native_window.cc
index
da84fab
..
97fb15b
100755
(executable)
--- a/
runtime/browser/native_window.cc
+++ b/
runtime/browser/native_window.cc
@@
-130,7
+130,10
@@
void NativeWindow::SetContent(Evas_Object* content) {
// issue elm_object_part_content_unset() on it first.
evas_object_show(content);
- elm_object_part_content_unset(layout_, "elm.swallow.content");
+
+ // Hide unseted evas object to avoid focus and event callback problem.
+ evas_object_hide(
+ elm_object_part_content_unset(layout_, "elm.swallow.content"));
elm_object_part_content_set(layout_, "elm.swallow.content", content);
content_ = content;