input: Keep track of number of touch points inside touch struct
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
diff --git a/src/compositor.h b/src/compositor.h
index 9e1a825..3e878c8 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -340,6 +340,8 @@
uint32_t focus_serial;
struct wl_signal focus_signal;
+ uint32_t num_tp;
+
struct weston_touch_grab *grab;
struct weston_touch_grab default_grab;
int grab_touch_id;
@@ -493,8 +495,6 @@
struct wl_listener selection_data_source_listener;
struct wl_signal selection_signal;
- uint32_t num_tp;
-
void (*led_update)(struct weston_seat *ws, enum weston_led leds);
struct weston_xkb_info *xkb_info;