[PATCH v2 2/9] evdev: delete unused fields from evdev_input_device

Tiago Vignatti tiago.vignatti at intel.com
Wed Oct 26 05:55:22 PDT 2011


No functional changes. This all should be gone in commit 96c8be98.

Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
---
 compositor/evdev.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/compositor/evdev.c b/compositor/evdev.c
index 3f8b9ad..a0cd1d5 100644
--- a/compositor/evdev.c
+++ b/compositor/evdev.c
@@ -37,8 +37,7 @@ struct evdev_input_device {
 	struct evdev_input *master;
 	struct wl_event_source *source;
 	struct wlsc_output *output;
-	int tool, new_x, new_y;
-	int base_x, base_y;
+	int tool;
 	int fd;
 	struct {
 		int min_x;
@@ -299,8 +298,6 @@ evdev_input_device_create(struct evdev_input *master,
 		container_of(ec->output_list.next, struct wlsc_output, link);
 
 	device->tool = 1;
-	device->new_x = 1;
-	device->new_y = 1;
 	device->master = master;
 	device->is_touchpad = 0;
 
-- 
1.7.5.4



More information about the wayland-devel mailing list