The problem is with the functionality of smart focusing.
It tries to not switch focus to a scratchpad, but instead of seeing if the window is currently a scratchpad, it checks if it was when it was focused.
I repaired this.
Now, if smart focusing is enabled, it will reopen any windows closed by a scratchpad's exclude rule once said scratchpad is closed.
I believe this extra functionality makes sense for smart focusing, but of course it is up for discussion.
118
The problem is with the functionality of smart focusing. It tries to not switch focus to a scratchpad, but instead of seeing if the window is currently a scratchpad, it checks if it was when it was focused. I repaired this.
Now, if smart focusing is enabled, it will reopen any windows closed by a scratchpad's
exclude
rule once said scratchpad is closed. I believe this extra functionality makes sense for smart focusing, but of course it is up for discussion.