Ubuntu – Ubuntu 17.10: Lid closing disables touchpad, how to fix

17.10suspendtouchpad

I'm running Ubuntu 17.10 on a Dell Vostro 3559.

I've noticed that when I close the lid on my computer, it seems not only to go into a strange suspend, but also to disable my touchpad.
The strange thing is that the touchpad works fine when I suspend through the power menu. It seems to do something different when I close my lid.

I haven't been able to find the settings in either Tweaks or normal Settings where I decide what it does on lid close.

How to run sudo .sh file after wakeup : Touchpad disabled after upgrading to Ubuntu 17.10 seems to be onto a temporary fix for the problem, the two commands make the touchpad work again, but I'd rather just set the computer to suspend normally on lid close.

Does anyone know how this is done?


EDIT: Switched to xorg, and now it works fine. Seems to be a Wayland specific problem.