mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-25 23:39:45 -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
|
||||
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
|
||||
"/org/freedesktop/login1", // path
|
||||
"org.freedesktop.login1.Manager", // interface
|
||||
|
Loading…
Reference in New Issue
Block a user