diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-03 23:00:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-03 23:00:23 -0400 |
commit | 60519951e02eb0b15cbee4936a7f4bcadaee1ff4 (patch) | |
tree | 060976b0eb4770fb771a52a13c10d2940d9d2bd5 /include | |
parent | 8f8470aed95209040ac1f73bd42091d32f864aa7 (diff) | |
parent | 2d6bbf12f8dc9217f86ec232b7343ad3284863f5 (diff) |
Merge pull request #815 from emersion/fix-backend-timer-refresh
backend/{x11,headless}: fix refresh rate
Diffstat (limited to 'include')
-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 { |