On Thu Oct 2 19:41:16 2025 +0000, Brendan Shanks wrote:
@rbernon If possible I think we do want to have a non-empty rect for minimized windows, since they keep displaying when minimized (just shrunk down in the dock). The backing size only applies for OpenGL content, but it seems like it should stay the same when minimized also
Sure, that seems reasonable enough but I don't think we want to try reversing the computation that win32u might have done in the drivers, it seems unreliable. I think it'd be better to keep track of the normal (non-minimized) rects, possibly passing those to the drivers instead of window/client rects in the window_rects struct, when windows are minimized, as it doesn't seem very useful to pass empty rects anyway.