wayland_server: handle suspend inhibition for kscreenlocker too

Each process can only have one inhibition at a time, so if KWin and kscreenlocker both delay suspend, one of their requests fails. This instead puts the inhibition file descriptor into a shared_ptr and shares it between workspace and the screenlocker.

Depends on kscreenlocker!306 (merged)

CCBUG: 515550 CCBUG: 513150

Edited by Xaver Hugl

Merge request reports

Loading
Loading