With interactive resizing I mean click-dragging the window borders. So I registered a window size callback, which receives lot of messages in one resizing manipulation. Recreating vulkans swapchain, its image views, framebuffers, additional images (depth) and all related command buffers per resize message does not seem to be a smart method (it crashed my driver several times. I confirmed that one, even few, recreations work).
What I would like is to get the final message at the end of the resizing manipulation releasing the left mouse button. Unfortunately mouse button events are not registered at the window borders (decorations?), so I don’t see any way how this final event could be detected. Any advise how I could achieve the described functionality? I would prefer not to “wait for some time” and check if further resize messages are received.
Cheers, PP