Some displays deassert hotplug (i.e. signal through the hdmi cable they are no longer connected) when put into standby. Some do not.
In general not doing this is highly preferred.
Wayland when presented with a display that is apparently disconnected and reconnected, will reset windows to default positions.
A reconnected monitor may be a different resolution, so your previous window positions may no longer make sense.
I think the best workaround is to stop wayland from seeing the disconnect.
Try adding to cmdline.txt (on existing line)(assuming you are connected to HDMI0 - the one closest to power connector).
In general not doing this is highly preferred.
Wayland when presented with a display that is apparently disconnected and reconnected, will reset windows to default positions.
A reconnected monitor may be a different resolution, so your previous window positions may no longer make sense.
I think the best workaround is to stop wayland from seeing the disconnect.
Try adding to cmdline.txt (on existing line)
Code:
vc4.force_hotplug=1
Statistics: Posted by dom — Tue Aug 06, 2024 3:06 pm