diff options
author | Simon Ser <contact@emersion.fr> | 2020-01-10 16:02:10 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-03-06 21:32:58 +0100 |
commit | 9be1af3afb1ffe2b51eacdcc59c1d5f17cf6d205 (patch) | |
tree | e40494d7cd823335699f91b9ade9727d7d34dad4 /include | |
parent | 7017fa95b86fe4383d64a8a83ded0a7dcc53eaa2 (diff) |
backend/x11: add support for adaptive_sync_enabled
This sets the _VARIABLE_REFRESH window property [1].
[1]: https://gitlab.freedesktop.org/mesa/mesa/blob/0616b7ac90cf4f86bb409d34101e3a3cceac8cbe/src/vulkan/wsi/wsi_common_x11.c#L1374
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/x11.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h index e628e4cb..549f6a77 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -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 |