backend/x11: fix cursor position when receiving configure event

This commit is contained in:
emersion 2018-04-03 13:32:24 -04:00
parent 31c6ce13cd
commit 9609985f29
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
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);