DSWaylandOutput: initialize member variables @ constructor 55/241855/1
authorSung-Jin Park <sj76.park@samsung.com>
Wed, 19 Aug 2020 05:55:13 +0000 (14:55 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Thu, 20 Aug 2020 10:12:13 +0000 (19:12 +0900)
Change-Id: Ic3bb02ea09a10a2aa6b40e2cf8624ec24f885f9e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/DSWaylandServer/DSWaylandOutput.cpp

index 067f353..7216dbb 100644 (file)
@@ -31,7 +31,14 @@ namespace display_server
 
 DSWaylandOutputPrivate::DSWaylandOutputPrivate(DSWaylandOutput *p_ptr, DSWaylandCompositor *compositor)
        : DSObjectPrivate(p_ptr),
-         __p_ptr(p_ptr)
+         __p_ptr(p_ptr),
+         __outputRect({0,0,0,0}),
+         __phyWidth(0),
+         __phyHeight(0),
+         __refresh(0),
+         __subpixel(0),
+         __transform(0),
+         __scale(1.0)
 {
        if (!compositor) return;