Logging out when laptop lid is closed and one external monitor active causes system to suspend
When logged in in GNOME shell, one external monitor active (DisplayPort over USB-C), and the laptop lid closed, logging out and going back to GDM results in the system immediately going to sleep. I have suspending when the laptop lid is closed enabled, where GNOME shell (as expected) doesn't suspend when at least one external monitor is active, but instead disables the laptop monitor - it seems GDM does not follow the same behaviour.
This is similar and possibly related to #374 and #373, but not quite the same. In #374 suspending whilst the laptop lid is closed is disabled, but I have it enabled. #374 handles two GPUs, but I only have one GPU active (an NVIDIA dGPU with proprietary driver) when this bug happens.