summaryrefslogtreecommitdiffstats
path: root/src/compositor/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/extensions')
-rw-r--r--src/compositor/extensions/qwaylandwlshellintegration_p.h4
-rw-r--r--src/compositor/extensions/qwaylandxdgshellv5integration_p.h4
-rw-r--r--src/compositor/extensions/qwaylandxdgshellv6integration_p.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/compositor/extensions/qwaylandwlshellintegration_p.h b/src/compositor/extensions/qwaylandwlshellintegration_p.h
index ff236e636..8af54dfc4 100644
--- a/src/compositor/extensions/qwaylandwlshellintegration_p.h
+++ b/src/compositor/extensions/qwaylandwlshellintegration_p.h
@@ -100,14 +100,14 @@ private:
struct {
QWaylandSeat *seat = nullptr;
QPointF initialOffset;
- bool initialized;
+ bool initialized = false;
} moveState;
struct {
QWaylandSeat *seat = nullptr;
QWaylandWlShellSurface::ResizeEdge resizeEdges;
QSizeF initialSize;
QPointF initialMousePos;
- bool initialized;
+ bool initialized = false;
} resizeState;
bool isPopup = false;
diff --git a/src/compositor/extensions/qwaylandxdgshellv5integration_p.h b/src/compositor/extensions/qwaylandxdgshellv5integration_p.h
index b2c16c6d9..5d0e1e142 100644
--- a/src/compositor/extensions/qwaylandxdgshellv5integration_p.h
+++ b/src/compositor/extensions/qwaylandxdgshellv5integration_p.h
@@ -91,7 +91,7 @@ private:
struct {
QWaylandSeat *seat = nullptr;
QPointF initialOffset;
- bool initialized;
+ bool initialized = false;
} moveState;
struct {
@@ -101,7 +101,7 @@ private:
QPointF initialMousePos;
QPointF initialPosition;
QSize initialSurfaceSize;
- bool initialized;
+ bool initialized = false;
} resizeState;
struct {
diff --git a/src/compositor/extensions/qwaylandxdgshellv6integration_p.h b/src/compositor/extensions/qwaylandxdgshellv6integration_p.h
index 5b56af89b..049b901c9 100644
--- a/src/compositor/extensions/qwaylandxdgshellv6integration_p.h
+++ b/src/compositor/extensions/qwaylandxdgshellv6integration_p.h
@@ -96,7 +96,7 @@ private:
struct {
QWaylandSeat *seat = nullptr;
QPointF initialOffset;
- bool initialized;
+ bool initialized = false;
} moveState;
struct {
@@ -106,7 +106,7 @@ private:
QPointF initialMousePos;
QPointF initialPosition;
QSize initialSurfaceSize;
- bool initialized;
+ bool initialized = false;
} resizeState;
struct {