From: SooChan Lim Date: Fri, 28 Aug 2020 04:04:31 +0000 (+0900) Subject: DSWindowShell: make sendConfigure method be a private method X-Git-Tag: accepted/tizen/unified/20200901.160655~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F54%2F242754%2F1;p=platform%2Fcore%2Fuifw%2Flibds.git DSWindowShell: make sendConfigure method be a private method Change-Id: I0d539c18a74c93fac6d53d1f6a2b072651f0ca9c --- diff --git a/src/DSWindowShell/DSWindowShell.cpp b/src/DSWindowShell/DSWindowShell.cpp index 8b9a78b..6798b79 100644 --- a/src/DSWindowShell/DSWindowShell.cpp +++ b/src/DSWindowShell/DSWindowShell.cpp @@ -372,12 +372,4 @@ bool DSWindowShell::getVkbdFloating() return priv->getVkbdFloating(); } -void DSWindowShell::sendConfigure(void) -{ - DS_GET_PRIV(DSWindowShell); - - priv->sendConfigure(); -} - - } // namespace display_server diff --git a/src/DSWindowShell/DSWindowShell.h b/src/DSWindowShell/DSWindowShell.h index 7690094..f2452f7 100644 --- a/src/DSWindowShell/DSWindowShell.h +++ b/src/DSWindowShell/DSWindowShell.h @@ -116,8 +116,6 @@ public: bool setVkbdFloating(bool set); bool getVkbdFloating(); - void sendConfigure(void); - protected: private: diff --git a/src/DSWindowShell/DSWindowShellPrivate.cpp b/src/DSWindowShell/DSWindowShellPrivate.cpp index 65778c3..7435cbf 100644 --- a/src/DSWindowShell/DSWindowShellPrivate.cpp +++ b/src/DSWindowShell/DSWindowShellPrivate.cpp @@ -276,7 +276,7 @@ void DSWindowShellPrivate::setShellSurface(IDSWaylandShellSurface *shellSurface) { __shellSurface = shellSurface; DSLOG_DBG("DSWindowShell", "Set ShellSurface(%p). Send configure", shellSurface); - sendConfigure(); + __sendConfigure(); } IDSWaylandShellSurface *DSWindowShellPrivate::getShellSurface(void) @@ -647,7 +647,7 @@ bool DSWindowShellPrivate::getVkbdFloating() return false; } -void DSWindowShellPrivate::sendConfigure(void) +void DSWindowShellPrivate::__sendConfigure(void) { if (__shellSurface) { @@ -667,7 +667,7 @@ void DSWindowShellPrivate::__onWindowBufferChanged(std::shared_ptr bu { std::shared_ptr bufferSize = buffer->getSize(); DSLOG_DBG("DSWindow", "Geometry Changed!!! Send Configure... geo(%d,%d,%d,%d) commit(%d,%d)", __x, __y, __w, __h, bufferSize->w, bufferSize->h); - sendConfigure(); + __sendConfigure(); __changedGeometry = false; } diff --git a/src/DSWindowShell/DSWindowShellPrivate.h b/src/DSWindowShell/DSWindowShellPrivate.h index 5057859..1d1924c 100644 --- a/src/DSWindowShell/DSWindowShellPrivate.h +++ b/src/DSWindowShell/DSWindowShellPrivate.h @@ -120,18 +120,18 @@ public: bool setVkbdFloating(bool set); bool getVkbdFloating(); - void sendConfigure(void); - private: bool __create(int x, int y, unsigned int w, unsigned int h, DSWindowShell *pWin, DSWindowShell *pParent); bool __findInChildList(DSWindowShell *parentWinShell); bool __setParent(DSWindowShell *parentWinShell); - void __onWindowBufferChanged(std::shared_ptr buffer); + void __sendConfigure(void); struct stWindowAuxHint* __findAuxHint(int32_t id); void __handleAuxHint(stWindowAuxHint *hint); bool __handleUserGeometryHint(bool setUserGeometry); + void __onWindowBufferChanged(std::shared_ptr buffer); + private: DSWindow *__window; IDSWaylandShellSurface *__shellSurface;