On Mon Sep 29 17:27:50 2025 +0000, Tim Clem wrote:
Well, for a while now, macdrv windows have had empty previews in the Dock when minimized. I'm not sure why that is - we let the OS generate that thumbnail if the window isn't empty-shaped (see the various calls to `-[WineWindow grabDockIconSnapshotFromWindow:force:]`). I thought the backing size might be part of it, but it's still empty with this patch. So perhaps we can just have `-wine_updateBackingSize` fall through to the NULL case if either dimension of the size is 0. @bshanks Any idea whether maintaining the backing size is important for minimized windows?
@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