alex-courtis / way-displays

way-displays: Auto Manage Your Wayland Displays
MIT License
246 stars 12 forks source link

Cannot handle sway toggle display #11

Closed alex-courtis closed 2 years ago

alex-courtis commented 2 years ago

On output DP-3 toggle:

ERROR: output configuration has been cancelled src/listener_output_configuration.c:38, exiting

alex-courtis commented 2 years ago

Reproduce:

Display will arrive/depart/arrive.

alex-courtis commented 2 years ago
I [14:34:41.056] way-displays version 1.2.1-SNAPSHOT
I [14:34:41.056]
I [14:34:41.056] Found configuration file: /home/alex/.dotfiles/config/way-displays/cfg.yaml
I [14:34:41.056]   Arrange in a ROW aligned at the TOP
I [14:34:41.056]   Auto scale: ON
I [14:34:41.056]
I [14:34:41.056] HDMI-A-1 Arrived:
I [14:34:41.057]   info:
I [14:34:41.057]     name:     'HDMI-A-1'
I [14:34:41.057]     desc:     'Unknown ASUS XG32V 0x0000CF52 (HDMI-A-1)'
I [14:34:41.057]     width:    700mm
I [14:34:41.057]     height:   390mm
I [14:34:41.057]   current:
I [14:34:41.057]     (disabled)
I [14:34:41.057]
I [14:34:41.057] eDP-1 Arrived:
I [14:34:41.057]   info:
I [14:34:41.057]     name:     'eDP-1'
I [14:34:41.057]     desc:     'Unknown 0x05EF 0x00000000 (eDP-1)'
I [14:34:41.057]     width:    310mm
I [14:34:41.057]     height:   170mm
I [14:34:41.057]     dpi:      212.45 @ 2560x1440
I [14:34:41.057]   current:
I [14:34:41.057]     scale:    2.000
I [14:34:41.057]     position: 0,0
I [14:34:41.057]     mode:     2560x1440@60Hz (preferred)
I [14:34:41.057]
I [14:34:41.057] HDMI-A-1 Changing:
I [14:34:41.057]   from:
I [14:34:41.057]     (disabled)
I [14:34:41.057]   to:
I [14:34:41.057]     scale:    1.000
I [14:34:41.057]     position: 0,0
I [14:34:41.057]     mode:     2560x1440@60Hz
I [14:34:41.057]     (enabled)
I [14:34:41.057]
I [14:34:41.057] eDP-1 Changing:
I [14:34:41.057]   from:
I [14:34:41.057]     scale:    2.000
I [14:34:41.057]     position: 0,0
I [14:34:41.057]     mode:     2560x1440@60Hz (preferred)
I [14:34:41.057]   to:
I [14:34:41.057]     scale:    2.250
I [14:34:41.057]     position: 2560,0
I [14:34:41.501]
I [14:34:41.501] Changes successful
I [14:34:42.207]
I [14:34:42.207] Monitoring lid device: /dev/input/event1
I [14:34:44.181]
I [14:34:44.181] HDMI-A-1 Departed:
I [14:34:44.181]     name:     'HDMI-A-1'
I [14:34:44.181]     desc:     'Unknown ASUS XG32V 0x0000CF52 (HDMI-A-1)'
I [14:34:44.181]
I [14:34:44.181] eDP-1 Changing:
I [14:34:44.181]   from:
I [14:34:44.181]     scale:    2.250
I [14:34:44.181]     position: 2560,0
I [14:34:44.181]     mode:     2560x1440@60Hz (preferred)
I [14:34:44.181]   to:
I [14:34:44.181]     position: 0,0
I [14:34:44.720]
I [14:34:44.720] HDMI-A-1 Arrived:
I [14:34:44.720]   info:
I [14:34:44.720]     name:     'HDMI-A-1'
I [14:34:44.720]     desc:     'Unknown ASUS XG32V 0x0000CF52 (HDMI-A-1)'
I [14:34:44.720]     width:    700mm
I [14:34:44.720]     height:   390mm
I [14:34:44.720]   current:
I [14:34:44.720]     scale:    1.000
I [14:34:44.720]     position: 0,0
I [14:34:44.720]     mode:     2560x1440@60Hz
E [14:34:44.724]
E [14:34:44.724] ERROR: output configuration has been cancelled src/listener_output_configuration.c:38, exiting