mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-13 16:30:29 -05:00
Add support for the Xfce screensaver
This commit is contained in:
parent
f3f6ce3943
commit
10dc859231
@ -51,6 +51,13 @@ ScreenLockListenerDBus::ScreenLockListenerDBus(QWidget* parent)
|
|||||||
this, // receiver
|
this, // receiver
|
||||||
SLOT(gnomeSessionStatusChanged(uint)));
|
SLOT(gnomeSessionStatusChanged(uint)));
|
||||||
|
|
||||||
|
sessionBus.connect("org.xfce.ScreenSaver", // service
|
||||||
|
"/org/xfce/ScreenSaver", // path
|
||||||
|
"org.xfce.ScreenSaver", // interface
|
||||||
|
"ActiveChanged", // signal name
|
||||||
|
this, // receiver
|
||||||
|
SLOT(freedesktopScreenSaver(bool)));
|
||||||
|
|
||||||
systemBus.connect("org.freedesktop.login1", // service
|
systemBus.connect("org.freedesktop.login1", // service
|
||||||
"/org/freedesktop/login1", // path
|
"/org/freedesktop/login1", // path
|
||||||
"org.freedesktop.login1.Manager", // interface
|
"org.freedesktop.login1.Manager", // interface
|
||||||
|
Loading…
Reference in New Issue
Block a user