server: Return success on resize vs forwarded - #173
Conversation
For clients that don't support forwarded/async resizing responses resizing does not work properly. Just returning success should be alirght until this more clients support it. If wayland fails to resize the result will be from the server to the client to resize back.
|
Thinking about this would it be better to support a compat. mode? compat mode would return 0 vs strict (current and default) continue to return 4? |
|
I'm not familiar with this code, but I'm assuming there was a reason The protocol is designed to be asynchronous, specifically to support cases like this. But it might require some refactoring. E.g. in TigerVNC we have this draft PR in order to support resizing on Wayland: |
|
The layout is not guaranteed to have been reconfigured at the end of If we want to decide that |
For clients (tigervnc) that don't support forwarded/async (4)resizing responses resizing does not work properly. Just returning success (0) should be alright until this more clients support it. If Wayland fails to resize the result will be from the server to the client to resize back.