Anonymous - 2026-01-11

Originally posted by: Quorthon13

Good idea.

Not trivial to implement this at this point though. To detect that there is a fullscreen app running in a specific monitor, you'd a lot of specific native API calls:

Purpose Win32 API Function
Enumerate windows EnumWindows
Get window rectangle GetWindowRect
Check window visibility IsWindowVisible
Get window styles GetWindowLongPtr
Find window monitor MonitorFromWindow
Get monitor bounds GetMonitorInfo
Exclude cloaked windows DwmGetWindowAttribute
Identify shell window GetShellWindow

A good challenge, but I won't be working on it at least at this point. I'll keep it open though, for anyone up to the task.