ksldapp: on Wayland, make KWin responsible for inhibiting suspend

For some reason, each process is only allowed to inhibit a given action once. When KWin inhibits suspend for dpms, and kscreenlocker inhibits it for locking, only one of the two will actually have a successful inhibition. By making KWin handle the inhibition on Wayland, it can de-duplicate the requests and make sure we only suspend once the screen is both locked and off.

Merge request reports

Loading
Loading