diff options
Diffstat (limited to 'clients/window.c')
-rw-r--r-- | clients/window.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clients/window.c b/clients/window.c index 0278d08..7567cce 100644 --- a/clients/window.c +++ b/clients/window.c @@ -865,15 +865,13 @@ window_handle_motion(void *data, struct wl_input_device *input_device, { struct input *input = data; struct window *window = input->pointer_focus; - int location, pointer = POINTER_LEFT_PTR; + int pointer = POINTER_LEFT_PTR; input->x = x; input->y = y; input->sx = sx; input->sy = sy; - location = get_pointer_location(window, input->sx, input->sy); - if (window->motion_handler) pointer = (*window->motion_handler)(window, input, time, x, y, sx, sy, |