From 44dd7f2738e2b2a5c4fe4793f99e1fa049101c67 Mon Sep 17 00:00:00 2001 From: Dima Ryazanov Date: Wed, 14 Nov 2018 21:15:16 -0800 Subject: [PATCH] clients: Delete an unused variable Signed-off-by: Dima Ryazanov --- clients/window.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/clients/window.c b/clients/window.c index 1ab33545..470ac090 100644 --- a/clients/window.c +++ b/clients/window.c @@ -278,7 +278,6 @@ struct window { struct zwp_relative_pointer_v1 *relative_pointer; struct zwp_locked_pointer_v1 *locked_pointer; - struct input *locked_input; bool pointer_locked; locked_pointer_locked_handler_t pointer_locked_handler; locked_pointer_unlocked_handler_t pointer_unlocked_handler; @@ -4866,7 +4865,6 @@ window_lock_pointer(struct window *window, struct input *input) &locked_pointer_listener, input); - window->locked_input = input; window->locked_pointer = locked_pointer; window->relative_pointer = relative_pointer; @@ -4884,7 +4882,6 @@ window_unlock_pointer(struct window *window) window->locked_pointer = NULL; window->relative_pointer = NULL; window->pointer_locked = false; - window->locked_input = NULL; } void