[PULL] Input changes in preparation for multitouch

Peter Hutterer peter.hutterer at who-t.net
Thu Dec 8 16:50:33 PST 2011


A whole bunch of basic changes required for the multitouch support. Does not
include any actual MT stuff yet though.

Commit cba34d2a7e72ea0c7e5a2d8482607157ceccf8db

The following changes since commit fb22a408c69a84f81905147de9e82cf66ffb6eb2:

  Save major/minor opcodes in ClientRec for RecordAReply (2011-12-01 15:11:20 +0000)

are available in the git repository at:
  git://people.freedesktop.org/~whot/xserver for-keith

Peter Hutterer (22):
      include: add list_append()
      include: add list_last_entry to get the tail of a list
      include: point to the tests in list.c as examples
      include: a new list element does not need initialization, state so
      include: update struct list documentation to use one set of structs only
      include: rename "foos" to "list_of_foos" in the struct list documentation
      dix: switch the syncEvent queue to a struct list
      dix: add AllocGrab helper function
      dix: add CopyGrab() function
      dix: allocate temporary grabs on the heap
      dix: switch the dev->deviceGrab.activeGrab from GrabRec to GrabPtr
      Add a new XI2Mask struct and a few helper functions.
      input: swap the server over to use the XI2mask struct
      xfree86: bump the input ABI
      dix: use BUG_WARN for input mask size issues
      Xi: when removing a device, reset ClientPointers where needed
      xfixes: don't dereference a NULL cursor
      Xi: skip superfluous cast
      Xi: check button mapping value _before_ assigning it
      Xi: rename "state" to "corestate" in ProcessDeviceEvents
      xfree86: include xorg-config.h from xaalocal.h
      include: add BUG_WARN_MSG for custom error message on bug condition

 Xi/exevents.c                  |   88 +++++++------
 Xi/ungrdevb.c                  |   32 +++--
 Xi/ungrdevk.c                  |   31 +++--
 Xi/xichangehierarchy.c         |   15 ++
 Xi/xigrabdev.c                 |   15 ++-
 Xi/xipassivegrab.c             |   50 +++++---
 Xi/xiselectev.c                |    5 +-
 dix/devices.c                  |    3 +
 dix/events.c                   |  288 ++++++++++++++++++++--------------------
 dix/grabs.c                    |   84 +++++++++++-
 dix/inpututils.c               |  181 +++++++++++++++++++++++++
 hw/xfree86/common/xf86Module.h |    2 +-
 hw/xfree86/xaa/xaalocal.h      |    4 +
 include/dix.h                  |    1 +
 include/dixgrabs.h             |    4 +
 include/input.h                |    1 +
 include/inputstr.h             |   22 ++-
 include/inpututils.h           |   12 ++
 include/list.h                 |   81 ++++++++----
 include/misc.h                 |    9 +-
 test/input.c                   |   65 +++++++++
 test/list.c                    |   37 +++++
 test/xi2/Makefile.am           |    5 +-
 test/xi2/xi2.c                 |  129 ++++++++++++++++++
 xfixes/cursor.c                |    4 +-
 25 files changed, 892 insertions(+), 276 deletions(-)
 create mode 100644 test/xi2/xi2.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111209/0e204a88/attachment.pgp>


More information about the xorg-devel mailing list