DSWindowShell: make sendConfigure method be a private method 54/242754/1
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 28 Aug 2020 04:04:31 +0000 (13:04 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Tue, 1 Sep 2020 01:29:16 +0000 (10:29 +0900)
Change-Id: I0d539c18a74c93fac6d53d1f6a2b072651f0ca9c

src/DSWindowShell/DSWindowShell.cpp
src/DSWindowShell/DSWindowShell.h
src/DSWindowShell/DSWindowShellPrivate.cpp
src/DSWindowShell/DSWindowShellPrivate.h

index 8b9a78b..6798b79 100644 (file)
@@ -372,12 +372,4 @@ bool DSWindowShell::getVkbdFloating()
        return priv->getVkbdFloating();
 }
 
-void DSWindowShell::sendConfigure(void)
-{
-       DS_GET_PRIV(DSWindowShell);
-
-       priv->sendConfigure();
-}
-
-
 } // namespace display_server
index 7690094..f2452f7 100644 (file)
@@ -116,8 +116,6 @@ public:
        bool setVkbdFloating(bool set);
        bool getVkbdFloating();
 
-       void sendConfigure(void);
-
 protected:
 
 private:
index 65778c3..7435cbf 100644 (file)
@@ -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<IDSBuffer> bu
        {
                std::shared_ptr<stSize> 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;
        }
 
index 5057859..1d1924c 100644 (file)
@@ -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<IDSBuffer> buffer);
+       void __sendConfigure(void);
 
        struct stWindowAuxHint* __findAuxHint(int32_t id);
        void __handleAuxHint(stWindowAuxHint *hint);
        bool __handleUserGeometryHint(bool setUserGeometry);
 
+       void __onWindowBufferChanged(std::shared_ptr<IDSBuffer> buffer);
+
 private:
        DSWindow *__window;
        IDSWaylandShellSurface *__shellSurface;