backend/{x11,headless}: fix refresh rate

This commit is contained in:
emersion 2018-04-03 22:54:01 -04:00
parent 8f8470aed9
commit 2d6bbf12f8
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 24 additions and 6 deletions

View file

@ -4,6 +4,8 @@
#include <wlr/backend/headless.h>
#include <wlr/backend/interface.h>
#define HEADLESS_DEFAULT_REFRESH (60 * 1000) // 60 Hz
struct wlr_headless_backend {
struct wlr_backend backend;
struct wlr_egl egl;