Skip to content
  • Daniel Stone's avatar
    Convert wl_input_device to wl_seat (and friends) · 37816df6
    Daniel Stone authored
    
    
    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: default avatarDaniel Stone <daniel@fooishbar.org>
    37816df6