Convert wl_input_device to wl_seat (and friends)
authorDaniel Stone <daniel@fooishbar.org>
Wed, 16 May 2012 17:45:18 +0000 (18:45 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:28 +0000 (17:51 +0100)
commit93c5aa06d5981545f86d0f119165ea72a0bb5984
treee2bc33ad3c6216d9b327051cda0edee56cc85d0d
parentdef34d026d4ceea37d58da50d71d783d7f7de66b
Convert wl_input_device to wl_seat (and friends)

wl_input_device has been both renamed and split.  wl_seat is now a
virtual object representing a group of logically related input devices
with related focus.

It now only generates one event: to let clients know that it has new
capabilities.  It takes requests which hand back objects for the
wl_pointer, wl_keyboard and wl_touch interfaces it exposes which all
provide the old input interface, just under different names.

This commit tracks these changes in weston and the clients, as well as
similar renames (e.g. weston_input_device -> weston_seat).  Some other
changes were necessary, e.g. renaming the name for the visible mouse
sprite from 'pointer' to 'cursor' so as to not conflict.

For simplicity, every seat is always exposed with all three interfaces,
although this will change as time goes on.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/evdev.c
src/evdev.h