This is the second version. I have restored the ref counting of input devices,
I think with the name weston_seat_init_pointer is not accurate, perhaps 
weston_seat_add_pointer_device would be better. I'm really wondering if it's
the weston core that should do that refcounting, or if the input backend should
do it itself. I can't see any case where we would have 2 input backends (which
would be a justification for weston doing it).
Note that with this patch, we don't save the last position of the pointer. I'm
wondering why we wanna do this, does that mean that we want the same kind of 
behaviour for other input devices (saving locks state for keyboard device for 
example) ?

David FORT (1):
  weston: implement inert objects for keyboard/pointer/touch

 desktop-shell/exposay.c  |  16 ++--
 desktop-shell/shell.c    |  21 ++--
 src/compositor-wayland.c |  10 +-
 src/compositor-x11.c     |  12 ++-
 src/input.c              | 242 +++++++++++++++++++++++++++--------------------
 src/libinput-device.c    |   2 +-
 src/screen-share.c       |   2 +
 src/text-backend.c       |  44 +++++----
 src/zoom.c               |   7 +-
 tests/weston-test.c      |  18 ++--
 xwayland/dnd.c           |   3 +-
 11 files changed, 224 insertions(+), 153 deletions(-)

-- 
1.9.1

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to