It would be nice to have an option to tell Wofi to close when the user clicks outside Wofi.
We could call it '--modal=y/n'.
This is an interesting idea but I'm not sure there's a way to implement it in practice? Once the mouse leaves wofi I don't believe there's any way to determine what it's doing.
Would it be feasible to close wofi when the form loses focus?
I don't believe layer surfaces have a concept of focus to begin with? I'll do some investigating(3 months later) and see if I can find a way to implement this. Please don't expect it to come in a timely fashion. I get bursts of motivation but then they disappear, as the main repo says, this project is basically in maintenance mode.
I'm also interested in on focus lost feature. CopyQ and MEGAsync does work like that, so I expect wofi also should be able to do this. Though whether MEGAsync runs in XWayland mode or not is another question.
having wofi close on focus loss(at least in normal window mode) isn't that difficult, detecting clicks outside of wofi doesn't appear possible as far as I can tell