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

X11 doesn't like creating and destroying a lot of windows #89

Closed
tomaka opened this issue Oct 29, 2014 · 4 comments
Closed

X11 doesn't like creating and destroying a lot of windows #89

tomaka opened this issue Oct 29, 2014 · 4 comments

Comments

@tomaka
Copy link
Contributor

tomaka commented Oct 29, 2014

To reproduce, clone https://github.com/tomaka/glium/ and run cargo test.

I don't know if it's some kind of race-condition, or just events not being processed correctly.

@emberian
Copy link

@tomaka I'm curious how piglit gets past this. Or maybe they use separate processes. Worth looking into.

@tomaka
Copy link
Contributor Author

tomaka commented May 17, 2015

I think they just use a single thread.
If I run glium's tests with RUST_TEST_THREADS=1, everything works fine.

The problem is maybe that a new X connection is opened for each window.

@emberian
Copy link

That seems plausible.

nox pushed a commit to nox/glutin that referenced this issue May 20, 2016
window: Allow setting the window icon on x11

r? @pcwalton

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/glutin/89)
<!-- Reviewable:end -->
@tomaka
Copy link
Contributor Author

tomaka commented Nov 3, 2016

Closing for rust-windowing/winit#32

@tomaka tomaka closed this as completed Nov 3, 2016
tomaka added a commit that referenced this issue Aug 29, 2017
Implement min/max window dimension constraints for MacOS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants