From 9be1af3afb1ffe2b51eacdcc59c1d5f17cf6d205 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 10 Jan 2020 16:02:10 +0100 Subject: 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 --- include/backend/x11.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/backend') 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 -- cgit v1.2.3