diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-10-30 15:43:06 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-10-30 15:43:06 -0400 |
commit | 875a5b446fcf04314ee102624bda7ae18939837e (patch) | |
tree | 4030c2bce3f8fbeeed9cff560f5290d41ea3d2a7 /backend/x11 | |
parent | a224e74fadd6393e25ec7392115892aec87dc11a (diff) |
remove time usec
Diffstat (limited to 'backend/x11')
-rw-r--r-- | backend/x11/backend.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c index 4eb56166..9d7e252a 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -51,7 +51,6 @@ static bool handle_x11_event(struct wlr_x11_backend *x11, xcb_generic_event_t *e xcb_key_press_event_t *ev = (xcb_key_press_event_t *)event; struct wlr_event_keyboard_key key = { .time_msec = ev->time, - .time_usec = ev->time * 1000, .keycode = ev->detail - 8, .state = event->response_type == XCB_KEY_PRESS ? WLR_KEY_PRESSED : WLR_KEY_RELEASED, @@ -72,7 +71,6 @@ static bool handle_x11_event(struct wlr_x11_backend *x11, xcb_generic_event_t *e struct wlr_event_pointer_axis axis = { .device = &x11->pointer_dev, .time_msec = ev->time, - .time_usec = ev->time * 1000, .source = WLR_AXIS_SOURCE_WHEEL, .orientation = WLR_AXIS_ORIENTATION_VERTICAL, .delta = delta, @@ -91,7 +89,6 @@ static bool handle_x11_event(struct wlr_x11_backend *x11, xcb_generic_event_t *e struct wlr_event_pointer_button button = { .device = &x11->pointer_dev, .time_msec = ev->time, - .time_usec = ev->time * 1000, .button = xcb_button_to_wl(ev->detail), .state = event->response_type == XCB_BUTTON_PRESS ? WLR_BUTTON_PRESSED : WLR_BUTTON_RELEASED, @@ -107,7 +104,6 @@ static bool handle_x11_event(struct wlr_x11_backend *x11, xcb_generic_event_t *e struct wlr_event_pointer_motion_absolute abs = { .device = &x11->pointer_dev, .time_msec = ev->time, - .time_usec = ev->time * 1000, .x_mm = ev->event_x, .y_mm = ev->event_y, .width_mm = output->wlr_output.width, @@ -136,7 +132,6 @@ static bool handle_x11_event(struct wlr_x11_backend *x11, xcb_generic_event_t *e struct wlr_event_pointer_motion_absolute abs = { .device = &x11->pointer_dev, .time_msec = x11->time, - .time_usec = x11->time * 1000, .x_mm = pointer->root_x, .y_mm = pointer->root_y, .width_mm = output->wlr_output.width, |