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

Put dropdown window on active screen under Wayland #1196

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

tsujan
Copy link
Member

@tsujan tsujan commented Nov 28, 2024

All complex problems in implementing this feature were caused by resizing the window programmatically on Wayland, as was done on X11. This patch sets 4 anchors instead, and then sets the left, right and bottom margins properly on showing the window.

Fixes #1142

All complex problems in implementing this feature were caused by resizing the window programmatically on Wayland, as was done on X11. This patch sets 4 anchors instead, and then sets the left, right and bottom margins properly on showing the window.

Fixes #1142
Copy link
Member

@stefonarch stefonarch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, works flawlessly!

@tsujan tsujan merged commit 9ebf250 into master Nov 28, 2024
@tsujan tsujan deleted the wayland_multiscreen branch November 28, 2024 19:07
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.

Dropdown terminal on wayland always on the same monitor
2 participants