This reminds me, we're talking about i3 here. Take a look at some of the bugs that end up in their bugtracker, for example [0]. Could [1] be related to what you're seeing?
cheers! mar77i [0] https://github.com/i3/i3/issues/2539 [1] https://github.com/aktau/hhpc/issues/2