summaryrefslogtreecommitdiff
path: root/src/compositor.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2014-01-08 16:21:24 -0800
committerKristian Høgsberg <krh@bitplanet.net>2014-01-08 16:21:24 -0800
commit2fce4808dd90bb59689c56ddbe322496ca653182 (patch)
tree8780ed090e93577ad8c45cc22faa118c8983e06c /src/compositor.h
parent1a26f1baba2ec02d6e1e3941f8f1f4f5f38d5a0d (diff)
downloadweston-2fce4808dd90bb59689c56ddbe322496ca653182.tar.gz
input: Remap touch point IDs from multiple touch screens to not overlap
With multiple touch screens on one seat, the touch points IDs from the different evdev devices may overlap. We have to remap the IDs we forward to core weston so that the touch points all have unique IDs within the seat. Closes: https://bugs.freedesktop.org/show_bug.cgi?id=73003
Diffstat (limited to 'src/compositor.h')
-rw-r--r--src/compositor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor.h b/src/compositor.h
index 2b9bb6e1..9da1e3c8 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -509,6 +509,7 @@ struct weston_seat {
void (*led_update)(struct weston_seat *ws, enum weston_led leds);
+ uint32_t slot_map;
struct input_method *input_method;
char *seat_name;
};