Merge pull request #810 from emersion/x11-backend-configure-fix-cursor

backend/x11: fix cursor position when receiving configure event
This commit is contained in:
Drew DeVault 2018-04-03 15:44:07 -04:00 committed by GitHub
commit 1e39c37b3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 50 additions and 42 deletions

View file

@ -79,6 +79,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);