https://bugs.kde.org/show_bug.cgi?id=466454
--- Comment #16 from Mark Richardson <oldkentuckym...@gmail.com> --- (In reply to Zamundaaa from comment #15) > (In reply to Mark Richardson from comment #13) > > What can/should an app do about being lied to about the window size? > You need to query the surface capabilities with > vkGetPhysicalDeviceSurfaceCapabilitiesKHR, and choose a swapchain size > that's bigger than or equal to the minimum, and smaller than or equal to the > maximum swapchain extends. on wayland, that could be anything from 1-16k, on xwayland its a specific size, that sometimes doesn't match the window size depending on the scaling setting for kwin. I don't see a cross platform way to set the swapchain size, unless kwin gives a surface of either 1px-16384px like it does on wayland, or exactly matching the window size like on xwayland with no scaling active. -- You are receiving this mail because: You are watching all bug changes.