mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend/x11: add support for adaptive_sync_enabled
This sets the _VARIABLE_REFRESH window property [1].
[1]: 0616b7ac90/src/vulkan/wsi/wsi_common_x11.c (L1374)
This commit is contained in:
parent
7017fa95b8
commit
9be1af3afb
3 changed files with 17 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ struct wlr_x11_backend {
|
|||
xcb_atom_t wm_delete_window;
|
||||
xcb_atom_t net_wm_name;
|
||||
xcb_atom_t utf8_string;
|
||||
xcb_atom_t variable_refresh;
|
||||
} atoms;
|
||||
|
||||
// The time we last received an event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue