Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt interactive move and resize to XWayland #29

Open
nullgemm opened this issue Nov 5, 2023 · 0 comments
Open

Adapt interactive move and resize to XWayland #29

nullgemm opened this issue Nov 5, 2023 · 0 comments

Comments

@nullgemm
Copy link
Owner

nullgemm commented Nov 5, 2023

X11 allows its users to do just about anything on the desktop, so it doesn't come with proper negotiation of interactive move and resize operations. Instead, we must do this manually, computing the new position and size of the window on our own.

Wayland, on the other hand, will never, ever, allow us to do anything on the desktop. Its users are expected to negotiate all operations, including interactive move and resize, so it is not possible to force window sizes and positions manually.

This means XWayland cannot replicate the exact behavior of X11 in certain cases. Because of that, interactive move and resize as typically implemented in X11 apps could be severely broken when they're ran on XWayland under certain compositors.

We should detect XWayland (this is easy) and change the way we handle interactive move and resize in that case in our X11 backends so it's as robust as possible.

Why is it still not done?

I am exhausted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant