korreman / sway-overfocus

"Better" focus navigation for sway and i3
MIT License
66 stars 4 forks source link

i3 compat dropped? #17

Open laur89 opened 1 week ago

laur89 commented 1 week ago

I suspect this commit drops i3 compatibility:

$ sway-overfocus split-rt float-rt output-rw
swayipc error: unknown variant `changed`, expected `fresh` or `none` at line 1 column 2380

$  i3 -v
i3 version 4661e74+ © 2009 Michael Stapelberg and contributors

Running sway-overfocus v0.2.4. Downgrading back to sway-overfocus v0.2.3-fix works fine.

Note i3 is built from this commit

korreman commented 1 week ago

That's odd. Part of the reason for the upgrade was to get better compatibility with i3 from swayipc-rs.

Can you send the output of i3-msg -t get_tree when you get this error?

korreman commented 1 week ago

Seems likely to be https://github.com/JayceFayne/swayipc-rs/commit/2ef86da3b0f1448e0ecf5e5d55f3f7b2a5ca0ba7 missing a changed variant.