mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-07 13:29:49 -05:00
wlr-keyboard: take out modifiers event struct (for now)
This commit is contained in:
parent
c680ace5e8
commit
739361aa70
9 changed files with 13 additions and 35 deletions
|
|
@ -50,7 +50,6 @@ static bool handle_x11_event(struct wlr_x11_backend *x11, xcb_generic_event_t *e
|
|||
case XCB_KEY_RELEASE: {
|
||||
xcb_key_press_event_t *ev = (xcb_key_press_event_t *)event;
|
||||
struct wlr_event_keyboard_key key = {
|
||||
.device = &x11->keyboard_dev,
|
||||
.time_msec = ev->time,
|
||||
.keycode = ev->detail - 8,
|
||||
.state = event->response_type == XCB_KEY_PRESS ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue