mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-26 19:39:49 +01:00
Merge pull request #1299 from Emantor/set-drm-version
backend/drm: set drmEventContext version to 2
This commit is contained in:
commit
feb0614d32
1 changed files with 1 additions and 1 deletions
|
@ -1261,7 +1261,7 @@ static void page_flip_handler(int fd, unsigned seq,
|
|||
|
||||
int handle_drm_event(int fd, uint32_t mask, void *data) {
|
||||
drmEventContext event = {
|
||||
.version = DRM_EVENT_CONTEXT_VERSION,
|
||||
.version = 2,
|
||||
.page_flip_handler = page_flip_handler,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue