Black screen on laptop lid opening/closing with suspend
Hello, there has been this critical issue with XFCE where, when suspending a laptop by closing the lid, the screen stays blank after the machine turns back on. At first, this was thought to be an [issue](https://gitlab.xfce.org/xfce/xfce4-power-manager/-/issues/75#note_14272) with `xfce4-power-manager`, but after some work I realized that this is actually a problem with `xfce4-settings` and it's `./configure` options.
I noticed that certain distributions (mainly Arch/Manjaro) configure `xfce4-settings` with `--disable-upower-glib` and do not have this issue. Other distros (Fedora, Ubuntu, etc) do have this problem since they don't use this option. A few like CentOS have an earlier version of UPower (`0.99.7`) and do not have this issue. Finally, after modifying Manjaro's package to not have that option, the issue occurred was reproducible.
I don't really know what to do about this myself, however looking at [UPower's release notes](https://gitlab.freedesktop.org/upower/upower/-/releases/UPOWER_0_99_8) for `0.99.8`, it might have something to do with the function `up_client_get_devices`. Hope that we can get this fixed!
issue