#94 Rotate broken in 0.7.9-6

closed
Ping Cheng
2015-12-04
2008-01-18
Kovid Goyal
No

Hi,

Rotate no longer works correctly in 0.7.9-6 (on an X61 tablet PC). This appears to be because the SBottomX0 and SBottomY0 values are unchanged by the rotate command.

Before rotate
xsetwacom get stylus SBottomY0
768
xsetwacom get stylus SBottomX0
1024

After rotate
xrandr --output LVDS --rotate left
xsetwacom set stylus Rotate CCW

we still have
xsetwacom get stylus SBottomY0
768
xsetwacom get stylus SBottomX0
1024

The cursor only moves over the intersection of the Screen0 rectangle and the rotated bounding rectangle. This can also be verified by doing a Rotate HALF which works as expected.

Discussion

  • Kovid Goyal
    Kovid Goyal
    2008-01-18

    Patch to fix screen rotation

     
  • Kovid Goyal
    Kovid Goyal
    2008-01-18

    Logged In: YES
    user_id=1109503
    Originator: YES

    Attached a patch to fix the screen rotation problem (against 0.7.9-6)
    File Added: fix-screen-rotation.patch

     
  • Ping Cheng
    Ping Cheng
    2008-03-11

    Logged In: YES
    user_id=754442
    Originator: NO

    Fixed in 0.7.9-8. Please test it and post your result here. Thanks.

     
  • Ping Cheng
    Ping Cheng
    2008-03-11

    • labels: --> XFree86 Modules
    • milestone: --> Beta
    • assigned_to: nobody --> pingc
     
  • Kovid Goyal
    Kovid Goyal
    2008-03-11

    Logged In: YES
    user_id=1109503
    Originator: YES

    Fixed, thanks.

     
  • Kovid Goyal
    Kovid Goyal
    2008-03-11

    • status: open --> closed