4 Dec
2025
4 Dec
'25
11:06 p.m.
Then I think it is better to have consistent names across modules but I'm fine renaming `set_window_present_rect` to `set_window_drawable_rect` if that is better for you.
(Also fwiw, I think `present` makes it close to D3DKMTPresent which this is fairly related to)
It's probably fine for now; it's temporary anyway.
The upshot of this is that the whole of get_swapchain_present_rect() is pretty much unnecessary; you can just use the swapchain size directly.
Thanks, I changed the code to use swapchain backbuffer width/height, I understand this is what you meant?
Yes, thank you. Though the patch subject is now not quite correct. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9585#note_124830