swaywm / sway

i3-compatible Wayland compositor
https://swaywm.org
MIT License
14.29k stars 1.09k forks source link

Wrong monitor name after waking up from suspend #8152

Open fkranhold opened 3 months ago

fkranhold commented 3 months ago

Version and log

Description

In this case, the monitor name (model and serial number) is not updated (i.e. swaymsg -t get_outputs returns the name of the first monitor). As a consequence, an output configuration that relies on the monitor name will not be applied correctly.

The above procedure might sound artificial, but is in fact quite common when working with a laptop and different docking stations at different places, and suspending the laptop when moving from one place to the other one.

emersion commented 3 months ago

See also https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4425

fkranhold commented 2 months ago

Does that mean this issue will be resolved in an upcoming version of wlroots?