Comments (3)
Do you use vsync in you app? And what compositor was that?
was it neovide?
from winit.
vsync is on. It's gnome-shell
from winit.
blocking winit(any wayland app) event loop while you disconnect the monitor will certainly break it. This is because the global died, there's no way to prevent it on client side, because it's a race. Just don't use vsync and drive the loop with Window::pre_present_notify
and Window::request_redraw
.
from winit.
Related Issues (20)
- window example crash on x11 HOT 2
- Set the cursor to be inherited or any other global value HOT 3
- Not receiving `RedrawRequested` events for all windows that `.request_redraw()` HOT 2
- Minimal window example HOT 2
- Web: Setting `CursorIcon::Default` should remove `cursor` `style`
- Android - wrong physical size
- Customize titlebar
- Cursor icons other than standard pointer stopped showing up on wayland HOT 2
- winit 0.30 panics on exit on macOS HOT 1
- Custom cursor (from_rgba) set in response to non-CursorMoved event leads to "already borrowed" panic when resizing HOT 1
- Reintroduce ability to query use of X11 or Wayland as backend on raw `EventLoop` HOT 1
- SSH X11 forwarding seemed to be unsupported HOT 2
- Window does not close under specific conditions.
- MacOS scaled resolution possibly increases memory usage
- Application panics when reading `Window::inner_size` after X server has terminated (e.g.: on user log-out)
- Rapid cursor movement causes frame loss HOT 3
- Semantics of getters/setters and events? HOT 4
- Keys leak through on window focus change (alt+tab) HOT 2
- Error handling on `ApplicationHandler` HOT 7
- Possible solution to keep created surface valid to user
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winit.