i3ipc-rs icon indicating copy to clipboard operation
i3ipc-rs copied to clipboard

Why are `I3Connection` and `I3EventListener` separate?

Open jplatte opened this issue 4 years ago • 2 comments

It seems they both access the same socket file, why are they separate types? Currently, if I want to get the current workspace state at the beginning of my program and then all subscribe to workspace updates, this requires opening the socket file twice.

jplatte avatar Apr 08 '20 17:04 jplatte