From: Doyoun Kang Date: Wed, 2 Sep 2020 06:28:44 +0000 (+0900) Subject: DSZone: modify testCreateWindow function X-Git-Tag: accepted/tizen/unified/20200908.003021~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F39%2F243439%2F1;p=platform%2Fcore%2Fuifw%2Flibds.git DSZone: modify testCreateWindow function Change-Id: I0ce2d001309f9a62db10b9a067bf00918f97c767 --- diff --git a/src/DSZone/DSZone.cpp b/src/DSZone/DSZone.cpp index 610e872..eedc406 100644 --- a/src/DSZone/DSZone.cpp +++ b/src/DSZone/DSZone.cpp @@ -235,10 +235,11 @@ void DSZone::callCallbackWindowShellCreated(std::shared_ptr winSh bool DSZone::testCreateWindow(std::shared_ptr waylandSurface) { - std::shared_ptr window = __createWindow(waylandSurface); - if (!window) return false; + if (waylandSurface == nullptr) + return false; - return true; + __onSurfaceCreated(waylandSurface); + return true; } std::list> DSZone::getWindowList()