summaryrefslogtreecommitdiff
path: root/src/wlstate.cc
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-10 10:17:45 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-10 10:17:45 +0100
commit55991c396cddc8ec27182dc5cfe64fdef61da064 (patch)
treee2e5b80a2d27d3d717a3be1e7240ecb5cd1b298c /src/wlstate.cc
parent80dcfa99fef3684d506ee8f96298563433b10e74 (diff)
turning hashset into hashmap
Diffstat (limited to 'src/wlstate.cc')
-rw-r--r--src/wlstate.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wlstate.cc b/src/wlstate.cc
index 68846fb..da5e555 100644
--- a/src/wlstate.cc
+++ b/src/wlstate.cc
@@ -60,6 +60,7 @@ static struct wl_registry_listener WAYC_REGISTRY_LISTENER = {
bool wayc_wlstate_init(struct wlstate_s *state) {
wayc_notnull(state);
+ memset(state, 0, sizeof(*state));
wl_display_t display = wl_display_connect(NULL);
if (display == NULL)