OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.7 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../xf86-input-fpit/0003-fpit-minX-maxX-get-wrongly-initialized.patch
  5. # Copyright (C) 2010 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. From d5f2ccda167ee783e6fd8eaff31a1e16013a1585 Mon Sep 17 00:00:00 2001
  17. From: philip <feucht@uni-koblenz.de>
  18. Date: Wed, 19 May 2010 12:37:05 +0200
  19. Subject: [PATCH 3/3] fpit: minX/ maxX get wrongly initialized
  20. maxX/ minX get values from maxY/ minY
  21. Problem introduced in commit 7d203627e7e3e7a6f8d0e847ed650b0b89760c09
  22. Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
  23. Signed-off-by: philip <feucht@uni-koblenz.de>
  24. ---
  25. src/xf86Fpit.c | 2 +-
  26. 1 files changed, 1 insertions(+), 1 deletions(-)
  27. diff --git a/src/xf86Fpit.c b/src/xf86Fpit.c
  28. index ce7540b..4c09c96 100644
  29. --- a/src/xf86Fpit.c
  30. +++ b/src/xf86Fpit.c
  31. @@ -232,7 +232,7 @@ static void xf86FpitSetUpAxes(DeviceIntPtr dev, FpitPrivatePtr priv)
  32. #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7
  33. axis_labels[0],
  34. #endif
  35. - priv->fpitMinY, priv->fpitMaxY, 9500, 0 /* min_res */ ,
  36. + priv->fpitMinX, priv->fpitMaxX, 9500, 0 /* min_res */ ,
  37. 9500 /* max_res */ );
  38. InitValuatorAxisStruct(dev, 1,
  39. #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7
  40. --
  41. 1.6.5.3