Closed zeroeightysix closed 1 day ago
Been using this for a few days now without issue, so it's ready for a final review :)
Yeah, sorry, I have this checked out, but I've been very busy with uni.
Did some minor cleanups
Hmm, what if we store the previous focused window just in the Niri state itself, rather than on each window? I think that should be simpler and should fix the layer-shell edge cases. I'll try doing it tomorrow when my brain is a bit clearer
Could you please try this branch again? I made the change above.
Could you please try this branch again? I made the change above.
Will do. This approach also does look nicer.
Appears to be working as intended!
Thanks!
This action focuses the previously focused window. As a parallel to
focus-workspace-previous
, this works across outputs, or within the same workspace, and should come in handy for users that have scripts making use offocus-window
.