1. 11 Jan, 2013 1 commit
  2. 17 Dec, 2012 1 commit
  3. 20 Nov, 2012 4 commits
  4. 19 Nov, 2012 1 commit
  5. 29 Oct, 2012 1 commit
  6. 24 Sep, 2012 1 commit
    • Yufeng Shen's avatar
      dix: fix scale_to_desktop for edge ABS events · 0b02150c
      Yufeng Shen authored
      
      
      Scale_to_desktop() converts ABS events from device coordinates
      to screen coordinates:
      [dev_X_min, dev_X_max]  -> [screen_X_min, screen_X_max]
      [dev_Y_min, dev_Y_max]  -> [screen_Y_min, screen_Y_max]
      
      An edge ABS event with X = dev_X_max (e.g., generated from the
      edge of a touchscreen) will be converted to have screen X value
      = screen_X_max, which, however, will be filterd out when xserver
      tries to find proper Window to receive the event, because the
      range check for a Window to receive events is
             window_X_min <= event_screen_X < window_X_max
      Events with event_screen_X = screen_X_max will fail the test get
      and rejected by the Window.
      
      To fix this, we change the device to screen coordinates mapping to
      [dev_X_min, dev_X_max]  -> [screen_X_min, screen_X_max-1]
      [dev_Y_min, dev_Y_max]  -> [screen_Y_min, screen_Y_max-1]
      Reviewed-by: default avatarChase Douglas <chase.douglas@canonical.com>
      Reviewed-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston Sequoia <jeremyhu@apple.com>
      Signed-off-by: default avatarYufeng Shen <miletus@chromium.org>
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      0b02150c
  7. 20 Aug, 2012 1 commit
  8. 06 Aug, 2012 1 commit
  9. 03 Jul, 2012 1 commit
  10. 20 Jun, 2012 1 commit
  11. 07 Jun, 2012 1 commit
  12. 04 Jun, 2012 1 commit
  13. 16 May, 2012 1 commit
  14. 01 May, 2012 1 commit
  15. 12 Apr, 2012 1 commit
  16. 22 Mar, 2012 4 commits
  17. 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
      do...
      9838b703
  18. 27 Feb, 2012 1 commit
  19. 14 Feb, 2012 1 commit
  20. 24 Jan, 2012 3 commits
  21. 05 Jan, 2012 1 commit
  22. 21 Dec, 2011 2 commits
  23. 20 Dec, 2011 2 commits
  24. 18 Dec, 2011 1 commit
  25. 16 Dec, 2011 2 commits
  26. 13 Dec, 2011 1 commit
  27. 09 Nov, 2011 1 commit
  28. 25 Oct, 2011 2 commits