Skip to content

xf86/logind: fix missing call to vtenter if the platform device is not paused

Jocelyn Falempe requested to merge jocelyn/xserver:fix_vtenter into master

If there is one platform device, which is not paused nor resumed, systemd_logind_vtenter() will never get called. This break suspend/resume, and switching to VT on system with nvida proprietary driver. This is a regression introduced by f5bd0396

#1271 (closed)

Also fix compilation error when built without logind/platform bus This was introduced by commit 8eb1396d

#1269 (closed)

Signed-off-by: Jocelyn Falempe

Edited by Jocelyn Falempe

Merge request reports