diff options
author | emersion <contact@emersion.fr> | 2018-04-03 22:54:01 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-03 22:54:01 -0400 |
commit | 2d6bbf12f8dc9217f86ec232b7343ad3284863f5 (patch) | |
tree | 060976b0eb4770fb771a52a13c10d2940d9d2bd5 /include/backend | |
parent | 8f8470aed95209040ac1f73bd42091d32f864aa7 (diff) |
backend/{x11,headless}: fix refresh rate
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/headless.h | 2 | ||||
-rw-r--r-- | include/backend/x11.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/backend/headless.h b/include/backend/headless.h index e130bae1..add4c4e8 100644 --- a/include/backend/headless.h +++ b/include/backend/headless.h @@ -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; diff --git a/include/backend/x11.h b/include/backend/x11.h index 2fce409e..1c88cefc 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -12,6 +12,8 @@ #define XCB_EVENT_RESPONSE_TYPE_MASK 0x7f +#define X11_DEFAULT_REFRESH (60 * 1000) // 60 Hz + struct wlr_x11_backend; struct wlr_x11_output { |