Add support for frame throttling on X11 #5050
Labels
a:backend-winit
Winit backend (mS,mO)
a:platform-linux
issue specific to Linux, X11 or wayland (mO,bT)
bug
Something isn't working
As seen in #5036, on X11 when calling
request_redraw()
or when modifying a property that changes what's on the screen, we re-render even if the window is not visible on the screen.We should not do that. This is already solved for Wayland by use of winit's API in #4200.
The same issue also exists on macOS with #4025.
This likely needs support in winit.
FWIW,
WindowEvent::Occluded
is not enough, or at least open box send it.The text was updated successfully, but these errors were encountered: