! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Inhibit via dbus does not work
Status:
RESOLVED: FIXED
Product:
Xfce4-screensaver
Component:
General

Comments

Description Michael Weiser 2020-01-10 14:23:33 CET
Created attachment 9368 
dbus: Prevent overzealous activiation

Inhibit via dbus does not work in two ways:
- clearing an inhibitor activates the saver
- adding an inhibitor does nothing

The attached two patches fix this for me. Could this be included?
Comment 1 Michael Weiser 2020-01-10 14:24:20 CET
Created attachment 9369 
Fix dbus inhibition
Comment 2 Git Bot editbugs 2020-01-15 11:12:25 CET
Michael Weiser referenced this bugreport in commit 7e6fe76f548cd3e0ea1363e57f26aa9f3579fcfb

dbus: Prevent overzealous activiation (bug #16365)

https://git.xfce.org/apps/xfce4-screensaver/commit?id=7e6fe76f548cd3e0ea1363e57f26aa9f3579fcfb
Comment 3 Git Bot editbugs 2020-01-15 11:12:27 CET
Michael Weiser referenced this bugreport in commit 69c32a115c1b66a53e726910beb60c298c175ceb

Fix dbus inhibition (bug #16365)

https://git.xfce.org/apps/xfce4-screensaver/commit?id=69c32a115c1b66a53e726910beb60c298c175ceb
Comment 4 Sean Davis editbugs 2020-01-15 11:14:24 CET
Thanks for the patches! Applied above.

Bug #16365

Reported by:
Michael Weiser
Reported on: 2020-01-10
Last modified on: 2020-01-15

People

Assignee:
Sean Davis
CC List:
0 users

Version

Version:
unspecified

Attachments

dbus: Prevent overzealous activiation (1.08 KB, patch)
2020-01-10 14:23 CET , Michael Weiser
no flags
Fix dbus inhibition (3.03 KB, patch)
2020-01-10 14:24 CET , Michael Weiser
no flags

Additional information