projects
/
platform
/
core
/
uifw
/
libscl-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03914f6
)
Fix build warning
14/41314/1
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Fri, 12 Jun 2015 11:00:13 +0000
(20:00 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Fri, 12 Jun 2015 11:00:13 +0000
(20:00 +0900)
Change-Id: I6e0e0ddb8ac810c6e053af2883008738dc236f81
src/sclconnection-isf.cpp
patch
|
blob
|
history
diff --git
a/src/sclconnection-isf.cpp
b/src/sclconnection-isf.cpp
index
2a47667
..
8793790
100644
(file)
--- a/
src/sclconnection-isf.cpp
+++ b/
src/sclconnection-isf.cpp
@@
-621,12
+621,13
@@
void CSCLConnectionISF::open_connection(const sclchar *display)
int fd = m_helper_agent.get_connection_number();
if (fd >= 0) {
+#ifndef WAYLAND
Evas_Object *main_window = NULL;
CSCLCoreImpl *impl = CSCLCoreImpl::get_instance();
if (impl) {
main_window = NATIVE_WINDOW_CAST(impl->get_main_window());
}
-#ifndef WAYLAND
+
Ecore_X_Window xwindow = elm_win_xwindow_get(main_window);
char xid[255];
snprintf(xid, 255, "%d", xwindow);