Skip to content
Snippets Groups Projects
  1. Nov 23, 2012
  2. Nov 08, 2012
  3. Nov 06, 2012
  4. Nov 02, 2012
  5. Oct 31, 2012
  6. Oct 16, 2012
  7. Oct 11, 2012
    • Peter Hutterer's avatar
      xfree86: add xf86UpdateDesktopDimensions() · 8f39a6b0
      Peter Hutterer authored
      
      This call is required for external drivers (specifically NVIDIA) that do
      not share the xfree86 infrastructure to update the desktop dimensions.
      Without it, the driver would update the ScreenRecs but not update the total
      dimensions the input code relies on for transformation.
      
      This call is a thin wrapper around the already-existing internal call and
      should be backported to all stable series servers, with the minor ABI bump.
      
      Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
      CC: Andy Ritger <aritger@nvidia.com>
      Reviewed-by: Aaron Plattner's avatarAaron Plattner <aplattner@nvidia.com>
      (cherry picked from commit 0a75bd64)
      
      Conflicts:
      	hw/xfree86/common/xf86Module.h
      8f39a6b0
    • Yufeng Shen's avatar
      dix: fix scale_to_desktop for edge ABS events · bea56fc9
      Yufeng Shen authored and Peter Hutterer's avatar Peter Hutterer committed
      
      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: default avatarJeremy Huddleston Sequoia <jeremyhu@apple.com>
      Signed-off-by: default avatarYufeng Shen <miletus@chromium.org>
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      (cherry picked from commit 0b02150c)
      bea56fc9
  8. Oct 08, 2012
  9. Sep 27, 2012
  10. Sep 05, 2012
  11. Sep 04, 2012
  12. Aug 29, 2012
  13. Aug 28, 2012
  14. Aug 27, 2012
Loading