Xi.patch 712 B

1234567891011121314151617181920
  1. --- xf86-video-sis-0.10.7/src/sis_driver.c 2013-03-10 13:57:50.000000000 +0100
  2. +++ xf86-video-sis-0.10.7/src/sis_driver.c.new 2013-03-10 13:54:48.645203559 +0100
  3. @@ -9378,7 +9378,15 @@
  4. }
  5. if(doit) {
  6. sigstate = xf86BlockSIGIO();
  7. -#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 15
  8. +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 18
  9. + {
  10. + double dx = x, dy = y;
  11. + miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy,
  12. + NULL, NULL);
  13. + x = (int)dx;
  14. + y = (int)dy;
  15. + }
  16. +#elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 15
  17. {
  18. double dx = x, dy = y;
  19. miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy);