alex-courtis / way-displays

way-displays: Auto Manage Your Wayland Displays
MIT License
253 stars 13 forks source link

Cannot handle rotated displays #12

Closed alex-courtis closed 2 years ago

alex-courtis commented 2 years ago

Mouse cannot move between displays as the position is incorrect.

output DP-3 transform 270
output eDP-1 transform 0

Results in:

I [09:37:06.105] DP-3 Arrived:
I [09:37:06.105]   info:
I [09:37:06.105]     name:     'DP-3'
I [09:37:06.105]     desc:     'Unknown ASUS XG32V 0x0000CF52 (DP-3 via HDMI)'
I [09:37:06.105]     width:    700mm
I [09:37:06.105]     height:   390mm
I [09:37:06.105]     dpi:      93.34 @ 2560x1440
I [09:37:06.105]   current:
I [09:37:06.105]     scale:    1.000
I [09:37:06.105]     position: 1920,0
I [09:37:06.105]     mode:     2560x1440@144Hz (preferred)
I [09:37:06.105]
I [09:37:06.105] eDP-1 Arrived:
I [09:37:06.105]   info:
I [09:37:06.105]     name:     'eDP-1'
I [09:37:06.105]     desc:     'Sharp Corporation 0x148D 0x00000000 (eDP-1)'
I [09:37:06.105]     width:    340mm
I [09:37:06.105]     height:   190mm
I [09:37:06.105]     dpi:      287.81 @ 3840x2160
I [09:37:06.105]   current:
I [09:37:06.105]     scale:    2.000
I [09:37:06.105]     position: 0,0
I [09:37:06.105]     mode:     3840x2160@60Hz (preferred)
I [09:37:06.105]
I [09:37:06.105] DP-3 Changing:
I [09:37:06.105]   from:
I [09:37:06.105]     scale:    1.000
I [09:37:06.105]     position: 1920,0
I [09:37:06.105]     mode:     2560x1440@144Hz (preferred)
I [09:37:06.105]   to:
I [09:37:06.105]     position: 0,0
I [09:37:06.105]
I [09:37:06.105] eDP-1 Changing:
I [09:37:06.105]   from:
I [09:37:06.105]     scale:    2.000
I [09:37:06.105]     position: 0,0
I [09:37:06.105]     mode:     3840x2160@60Hz (preferred)
I [09:37:06.106]   to:
I [09:37:06.106]     scale:    3.000
I [09:37:06.106]     position: 2560,0
I [09:37:06.288]
I [09:37:06.288] Changes successful