On Mon Apr 7 09:00:26 2025 +0000, Rémi Bernon wrote:
This changes the logic and when window is both maximized and minimized, we may now set `max_pos.x = max_pos.y = -1`? It might be better to fix `monitor_info_from_window` instead and avoid calling `NtUserGetWindowPlacement` just to get the normal rect, maybe with a dedicated helper.
You're right. Let's use the old logic for now to avoid any complications.