projects
/
platform
/
core
/
uifw
/
libds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44bb25f
)
DSZone: modify testCreateWindow function
39/243439/1
author
Doyoun Kang
<doyoun.kang@samsung.com>
Wed, 2 Sep 2020 06:28:44 +0000
(15:28 +0900)
committer
Sung-Jin Park
<sj76.park@samsung.com>
Mon, 7 Sep 2020 10:35:30 +0000
(19:35 +0900)
Change-Id: I0ce2d001309f9a62db10b9a067bf00918f97c767
src/DSZone/DSZone.cpp
patch
|
blob
|
history
diff --git
a/src/DSZone/DSZone.cpp
b/src/DSZone/DSZone.cpp
index
610e872
..
eedc406
100644
(file)
--- a/
src/DSZone/DSZone.cpp
+++ b/
src/DSZone/DSZone.cpp
@@
-235,10
+235,11
@@
void DSZone::callCallbackWindowShellCreated(std::shared_ptr<DSWindowShell> winSh
bool DSZone::testCreateWindow(std::shared_ptr<DSWaylandSurface> waylandSurface)
{
- std::shared_ptr<DSWindow> window = __createWindow(waylandSurface);
-
if (!window)
return false;
+ if (waylandSurface == nullptr)
+
return false;
- return true;
+ __onSurfaceCreated(waylandSurface);
+ return true;
}
std::list<std::shared_ptr<DSWindow>> DSZone::getWindowList()