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

Fix app not moving in wayland by using the startSystemMove() method #1422

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

alpemwarrior
Copy link
Contributor

@alpemwarrior alpemwarrior commented Sep 7, 2022

Fixes #991, where the app could not be moved under wayland because the protocol does not allow windows to move themselves. This method was introduced in qt 5.15 and is currently recommended when using client-side decorations as it allows for native look and feel.

I have only tested this under under wayland and xwayland but it should be a drop-in replacement in Windows, Linux and Macos. Testing would be appreciated nonetheless.

@alpemwarrior alpemwarrior changed the title Fix app not moving in wayland by using the startSystemMove() Fix app not moving in wayland by using the startSystemMove() method Sep 7, 2022
@alpemwarrior
Copy link
Contributor Author

Any feedback on this?

@feliscat
Copy link

This does fix the problem for me in the latest KDE/Wayland under Arch. It would be nice if it was merged.

@whao
Copy link

whao commented Nov 28, 2023

Any update on this?

@alpemwarrior
Copy link
Contributor Author

I've rebased this on top of the current master (not that there were any conflicts).

@killing killing merged commit 5917d65 into haiwen:master Dec 8, 2023
@killing
Copy link
Member

killing commented Dec 8, 2023

Thanks a lot!

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

Successfully merging this pull request may close these issues.

Title bar on Wayland is not working as expected
4 participants