automatically move focus back to tiling when floating window is closed
Often times I have a floating window on a workspace while the rest of the screen is tiled. When I open a new dialogue (open/save file, ect.) the focus is shifted to the new floating window as it should.
However when I close the window (say I chose to open a file) the focus stays in 'floating window mode' and switches to the original floating window.
So every time I want to open a file I have to switch the focus back to the tiling again.
Is there a way of configuring i3 in a way that the focus doesn't stay on a floating window if this window is closed?
EDIT:
I observe this only when I close a tiling window via a floating dialog-box (e.g. are you sure to close ..). I guess what happens is, the focus wants to jump back to the tiling window it came from, but since this window doesn't exist anymore (since it is closed now as well) it jumps to the next floating window. I think it would feel way more natural, if it jumped back to a tiling window.
Does anyone have an idea how to achieve that?