From c35e683050abf5b3aeabef9017bf7befb27c77ff Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Mon, 24 Aug 2020 09:05:45 +0900 Subject: [PATCH] DSWindowShellPrivate: initialize __layer value Change-Id: I834fbb839c74ca732600922353cbb271dc58db6d --- src/DSWindowShell/DSWindowShellPrivate.cpp | 3 ++- src/DSWindowShell/DSWindowShellPrivate.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/DSWindowShell/DSWindowShellPrivate.cpp b/src/DSWindowShell/DSWindowShellPrivate.cpp index 1b766c9..5119f90 100644 --- a/src/DSWindowShell/DSWindowShellPrivate.cpp +++ b/src/DSWindowShell/DSWindowShellPrivate.cpp @@ -39,7 +39,8 @@ DSWindowShellPrivate::DSWindowShellPrivate(DSWindowShell *p_ptr, DSWindow *windo __w(0), __h(0), __reqX(0), __reqY(0), __reqW(0), __reqH(0), - __parent(nullptr) + __parent(nullptr), + __layer(0) { } diff --git a/src/DSWindowShell/DSWindowShellPrivate.h b/src/DSWindowShell/DSWindowShellPrivate.h index 3340a31..454f23d 100644 --- a/src/DSWindowShell/DSWindowShellPrivate.h +++ b/src/DSWindowShell/DSWindowShellPrivate.h @@ -116,10 +116,10 @@ private: IDSWaylandShellSurface *__shellSurface; int __x, __y; unsigned int __w, __h; - int __layer; int __reqX, __reqY; unsigned int __reqW, __reqH; DSWindowShell *__parent; + int __layer; std::list __childList; }; -- 2.7.4