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

GTK: Open the dialog window on the same GdkScreen (and GdkDisplay) as the parent #145

Merged
merged 1 commit into from
Aug 3, 2024

Conversation

btzy
Copy link
Owner

@btzy btzy commented Jul 28, 2024

Setting the default GdkDisplay doesn't actually cause a newly opened dialog window to use it. The more correct way seems to be to make the dialog window use the same GdkScreen as the parent. Each GdkScreen maps to one GdkDisplay, so this guarantees that the dialog window uses the same GdkDisplay as the parent too.

@btzy btzy force-pushed the linux-parent branch 3 times, most recently from eaf0374 to ef6afbb Compare July 28, 2024 12:16
@btzy btzy marked this pull request as ready for review August 3, 2024 15:07
@btzy btzy merged commit 2d21ecb into master Aug 3, 2024
31 checks passed
@btzy btzy deleted the linux-parent branch August 3, 2024 15:09
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.

1 participant