mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-14 08:56:26 -05:00
backend/x11: Remove old input functions
This also allows us to remove xcb-xkb, since Xinput will now give us the appropriate XKB modifiers with each event.
This commit is contained in:
parent
d89e868cc9
commit
70ae76304e
9 changed files with 14 additions and 188 deletions
|
|
@ -69,12 +69,6 @@ struct wlr_x11_backend {
|
|||
|
||||
uint8_t xinput_opcode;
|
||||
|
||||
#if WLR_HAS_XCB_XKB
|
||||
bool xkb_supported;
|
||||
uint8_t xkb_base_event;
|
||||
uint8_t xkb_base_error;
|
||||
#endif
|
||||
|
||||
struct wl_listener display_destroy;
|
||||
};
|
||||
|
||||
|
|
@ -87,8 +81,6 @@ extern const struct wlr_keyboard_impl keyboard_impl;
|
|||
extern const struct wlr_pointer_impl pointer_impl;
|
||||
extern const struct wlr_input_device_impl input_device_impl;
|
||||
|
||||
void handle_x11_input_event(struct wlr_x11_backend *x11,
|
||||
xcb_generic_event_t *event);
|
||||
void handle_x11_xinput_event(struct wlr_x11_backend *x11,
|
||||
xcb_ge_generic_event_t *event);
|
||||
void update_x11_pointer_position(struct wlr_x11_output *output,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue