aboutsummaryrefslogtreecommitdiff
path: root/include/backend/x11.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/backend/x11.h')
-rw-r--r--include/backend/x11.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h
index 33c9a427..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 {
@@ -79,6 +81,8 @@ const struct wlr_input_device_impl input_device_impl;
bool x11_handle_input_event(struct wlr_x11_backend *x11,
xcb_generic_event_t *event);
+void x11_update_pointer_position(struct wlr_x11_output *output,
+ xcb_timestamp_t time);
void x11_output_handle_configure_notify(struct wlr_x11_output *output,
xcb_configure_notify_event_t *event);