backend/drm: don't set vsync present flag if page flip was async

This commit is contained in:
Isaac Freund 2024-08-10 13:27:05 +02:00 committed by Simon Zeni
parent 3103ea3af9
commit 08495d2596
2 changed files with 7 additions and 2 deletions

View file

@ -165,6 +165,8 @@ struct wlr_drm_page_flip {
struct wl_list link; // wlr_drm_connector.page_flips
struct wlr_drm_page_flip_connector *connectors;
size_t connectors_len;
// True if DRM_MODE_PAGE_FLIP_ASYNC was set
bool async;
};
struct wlr_drm_page_flip_connector {