mirror of
https://github.com/hyprwm/hypridle.git
synced 2024-11-16 23:25:58 +01:00
XD
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
This commit is contained in:
parent
7c65ecff0a
commit
7aee569cbf
1 changed files with 1 additions and 1 deletions
|
@ -527,7 +527,7 @@ void CHypridle::setupDBUS() {
|
||||||
return handleDbusScreensaver(s1, s2, 0, true, object->getCurrentlyProcessedMessage().getSender());
|
return handleDbusScreensaver(s1, s2, 0, true, object->getCurrentlyProcessedMessage().getSender());
|
||||||
}),
|
}),
|
||||||
sdbus::registerMethod("UnInhibit").implementedAs([object = obj.get()](uint32_t c) {
|
sdbus::registerMethod("UnInhibit").implementedAs([object = obj.get()](uint32_t c) {
|
||||||
handleDbusScreensaver("", "", c, true, object->getCurrentlyProcessedMessage().getSender());
|
handleDbusScreensaver("", "", c, false, object->getCurrentlyProcessedMessage().getSender());
|
||||||
}))
|
}))
|
||||||
.forInterface(sdbus::InterfaceName{"org.freedesktop.ScreenSaver"});
|
.forInterface(sdbus::InterfaceName{"org.freedesktop.ScreenSaver"});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue