diff options
-rw-r--r-- | xwayland/xwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 75666810..2f80062a 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -171,7 +171,7 @@ static struct wlr_xwayland_surface *xwayland_surface_create( xcb_get_geometry_cookie_t geometry_cookie = xcb_get_geometry(xwm->xcb_conn, window_id); - xcb_res_query_client_ids_cookie_t client_id_cookie; + xcb_res_query_client_ids_cookie_t client_id_cookie = { 0 }; if (xwm->xres) { xcb_res_client_id_spec_t spec = { .client = window_id, |