1. 28 Aug, 2015 1 commit
  2. 21 Apr, 2015 1 commit
  3. 12 Jan, 2014 1 commit
  4. 24 Jul, 2013 1 commit
  5. 15 May, 2013 1 commit
    • Peter Hutterer's avatar
      dix: call UpdateDeviceState() for emulated TouchEndEvents · 35c2e263
      Peter Hutterer authored
      ProcessTouchEvents() calls UDS for all touch events, but if the event type
      was switched to TouchUpdate(pending end) UDS is a noop.
      
      Daniel Drake found this can cause stuck buttons if a touch grab is
      activated, rejected and the touch event is passed to a regular listener.
      This sequence causes the TouchEnd to be changed to TouchUpdate(pending end).
      
      The actual TouchEnd event is later generated by the server once it is passed
      to the next listener. UDS is never called for this event, thus the button
      remains logically down.
      
      A previous patch suggested for UDS to handle TouchUpdate events [1], however
      this would release the button when the first TouchEvent is processed, not
      when the last grab has been released (as is the case for sync pointer
      grabs). A client may thus have the grab on the device, receive a ButtonPress
      but see the button logically up in an XQueryPointer request.
      
      This patch adds a call to UDS to TouchEmitTouchEnd(). The device state must
      be updated once a TouchEnd event was sent to the last grabbing listener and
      the number of grabs on the touchpoint is 0.
      
      [1] http://patchwork.freedesktop.org/patch/13464/Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
      35c2e263
  6. 10 May, 2013 9 commits
  7. 15 Apr, 2013 1 commit
  8. 25 Mar, 2013 1 commit
  9. 09 Jan, 2013 2 commits
  10. 12 Dec, 2012 2 commits
  11. 20 Nov, 2012 1 commit
  12. 30 Oct, 2012 1 commit
  13. 19 Oct, 2012 1 commit
  14. 04 Jul, 2012 2 commits
  15. 03 Jul, 2012 1 commit
  16. 07 Jun, 2012 2 commits
  17. 01 May, 2012 1 commit
  18. 19 Apr, 2012 3 commits
  19. 18 Apr, 2012 3 commits
  20. 22 Mar, 2012 1 commit
  21. 21 Mar, 2012 1 commit
    • Keith Packard's avatar
      Introduce a consistent coding style · 9838b703
      Keith Packard authored
      This is strictly the application of the script 'x-indent-all.sh'
      from util/modular. Compared to the patch that Daniel posted in
      January, I've added a few indent flags:
      
      	-bap
      	-psl
      	-T PrivatePtr
      	-T pmWait
      	-T _XFUNCPROTOBEGIN
      	-T _XFUNCPROTOEND
      	-T _X_EXPORT
      
      The typedefs were needed to make the output of sdksyms.sh match the
      previous output, otherwise, the code is formatted badly enough that
      sdksyms.sh generates incorrect output.
      
      The generated code was compared with the previous version and found to
      be essentially identical -- "assert" line numbers and BUILD_TIME were
      the only differences found.
      
      The comparison was done with this script:
      
      dir1=$1
      dir2=$2
      
      for dir in $dir1 $dir2; do
      	(cd $dir && find . -name '*.o' | while read file; do
      		dir=`dirname $file`
      		base=`basename $file .o`
      		dump=$dir/$base.dump
      		objdump -d $file > $dump
      	done)
      done
      
      find $dir1 -name '*.dump' | while read dump; do
      	otherdump=`echo $dump | sed "s;$dir1;$dir2;"`
      	diff -u $dump $otherdump
      done
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      Acked-by: default avatarDaniel Stone <daniel@fooishbar.org>
      Acked-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      9838b703
  22. 08 Feb, 2012 3 commits