FreeBSD, loosing mouse and keyboard interaction after getting out of suspend
FreeBSD-15.0 with XFCE4 installed.
I have configured my Lenovo Thinkpad X270 to suspend on lid-close, adding the following in /etc/sysctl.conf file as per https://docs.freebsd.org/en/books/handbook/config/index.html#configure-suspend-resume.
hw.acpi.lid_switch_state=S3
Problem is the behavior of XFCE4 when waking up the machine:
- close the lip, let the machine go to suspend
- reopen the lid
- type your password to get back in the desktop
- you can move your mouse cursor on the screen, you can do Ctrl-Alt-F1 to go to console or other ttys, but you can't click or type any text in XFCE4
I tried to remove xfce4-screensaver and use xscreensaver, same behavior so it is definitely XFCE4 itself.
I tried another WM on my FreeBSD install, Mate. It does not show such behavior and is perfectly usable and comes back from suspend.