Skip to content

Bugs #115 & #142: Fixed problem /w attempting to call non-existent method 'Lock' on D-Bus interface 'org.freedesktop.ScreenSaver'

Bug #115: Bug #142 (closed):

Fixed problem /w attempting to call non-existent method 'Lock' on D-Bus interface 'org.freedesktop.ScreenSaver' by modifying the logic that selects how to lock the screen, to no longer attempt to use this interface incorrectly, but to invoke 'xflock4' instead.

This is accomplished by moving the case conditional for 'SCREENSAVER_TYPE_FREEDESKTOP' from where the interface would be incorrectly called to just above the case conditional for 'SCREENSAVER_TYPE_OTHER', causing the D-Bus interface 'org.freedesktop.ScreenSaver' to be considered after all the other D-Bus interfaces, and to be processed like 'SCREENSAVER_TYPE_OTHER', thereby invoking 'xflock4'.

Merge request reports

Loading