LGUG2Z 73568922d5 fix(workspaces): let set_foreground_window fail
When hiding/restoring windows as part of workspace switching, calls to
SetForegroundWindow fail, and if they fail, other hidden windows get
lost forever in hidden mode when the error is returned up the call chain
using the ? operator.

This commit separates out the focus() calls from the loops restoring
windows when switching workspaces, and also ensures that calls to
SetForegroundWindow will log an error, but ultimately continue to the
end of the focus() function call.
2021-07-30 21:05:02 -07:00
2021-07-29 16:23:42 -07:00
2021-07-30 14:11:09 -07:00
2021-07-29 16:23:42 -07:00
2021-07-29 16:23:42 -07:00
Description
No description provided
23 MiB
Latest
2025-12-10 02:06:14 +01:00
Languages
Rust 97.5%
Python 0.9%
AutoHotkey 0.7%
Nix 0.7%
Just 0.2%