[PATCH 2/3] Delete an unused variable

Dima Ryazanov dima at gmail.com
Thu Nov 15 06:25:54 UTC 2018


Signed-off-by: Dima Ryazanov <dima at gmail.com>
---
 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
-- 
2.19.1



More information about the wayland-devel mailing list