Closed grmblfrz closed 5 years ago
Thank you very much for the contribution! I've successfully replicated the bug by switching between desktops 1 & 3 and having a Paint app minimized in one of them.
I've refactored the code a bit as it was not clear to me that it was checking for the minimization of the window.
When I switch to a desktop with minimized windows only they should not get activated (imho). This patch checks the windows state and only activates it if not minimized.