mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 22:53:15 -04:00
feat: Implement smooth resizing on X11 with _NET_WM_SYNC_REQUEST
Without smooth resizing, the window will appear to jitter when it is being resized. This is because X11 completes the resize before the client gets a chance to draw a new frame. This is fixed by using the "sync" extension to ensure that the resize of the X11 window is synchronized with the server. Closes #2153
This commit is contained in:
@@ -262,6 +262,7 @@ x11rb = { version = "0.13.0", default-features = false, features = [
|
||||
"dl-libxcb",
|
||||
"randr",
|
||||
"resource_manager",
|
||||
"sync",
|
||||
"xinput",
|
||||
"xkb",
|
||||
], optional = true }
|
||||
|
||||
Reference in New Issue
Block a user