imawizard / MiguruWM

A tiling window manager for Windows
BSD 2-Clause "Simplified" License
36 stars 3 forks source link

Check if a restored window is active #28

Closed imawizard closed 1 month ago

imawizard commented 3 months ago

For some windows like Windows Explorer there seems to be no focus event when restoring them from e.g. a hidden state. So when a window is restored, check whether it's the active one and if so treat the restore event like a focus.