From 3b6274e10cce1dd91a404ce170e59eac0f318e9e Mon Sep 17 00:00:00 2001 From: Tiago Vignatti Date: Fri, 28 Oct 2011 13:09:42 -0400 Subject: [PATCH] evdev: Delete unused fields from evdev_input_device Signed-off-by: Tiago Vignatti --- compositor/evdev.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/compositor/evdev.c b/compositor/evdev.c index 2f1b142..b63500e 100644 --- a/compositor/evdev.c +++ b/compositor/evdev.c @@ -42,8 +42,7 @@ struct evdev_input_device { struct wl_event_source *source; struct wlsc_output *output; char *devnode; - int tool, new_x, new_y; - int base_x, base_y; + int tool; int fd; int min_x, max_x, min_y, max_y; int is_touchpad, old_x_value, old_y_value, reset_x_value, reset_y_value; @@ -298,8 +297,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; device->devnode = strdup(path); -- 2.7.4