Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • xfce4-power-manager xfce4-power-manager
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 119
    • Issues 119
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • XfceXfce
  • xfce4-power-managerxfce4-power-manager
  • Merge requests
  • !32

Fix for bug #142 & xfce4-session#115 re incorrectly using interface 'org.freedesktop.ScreenSaver'

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Marat Nepomnyashy requested to merge maratbn/xfce4-power-manager:2023-01-22--02--fix--142 into master Jan 23, 2023
  • Overview 5
  • Commits 1
  • Pipelines 1
  • Changes 1

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'.

(Also helps fix xfce4-session#115 (closed))

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 2023-01-22--02--fix--142