summaryrefslogtreecommitdiff
path: root/src/xwayland/XWM.cpp
diff options
context:
space:
mode:
authorLee Bousfield <ljbousfield@gmail.com>2025-03-17 09:52:40 -0500
committerGitHub <noreply@github.com>2025-03-17 15:52:40 +0100
commit011d7ccb91081ff99f184564ea38d1b9e543a99c (patch)
tree39db18bd22a0f3936b09a540e05220eed6cfea18 /src/xwayland/XWM.cpp
parentefc51eb7d1ec8377425bb7b623b54831f2c18afc (diff)
internal: Fix compiler warnings (#9646)
Diffstat (limited to 'src/xwayland/XWM.cpp')
-rw-r--r--src/xwayland/XWM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xwayland/XWM.cpp b/src/xwayland/XWM.cpp
index 02232873..efb080d6 100644
--- a/src/xwayland/XWM.cpp
+++ b/src/xwayland/XWM.cpp
@@ -494,7 +494,7 @@ void CXWM::focusWindow(SP<CXWaylandSurface> surf) {
if (surf->overrideRedirect)
return;
- xcb_client_message_data_t msg = {0};
+ xcb_client_message_data_t msg = {{0}};
msg.data32[0] = HYPRATOMS["WM_TAKE_FOCUS"];
msg.data32[1] = XCB_TIME_CURRENT_TIME;