lid behavior watcher to lock session #115

Merged
zach merged 25 commits from lid-switch-behavior into main 2026-06-03 18:02:21 +02:00
Showing only changes of commit 3bcdbbabbb - Show all commits
+1 -1
View File
@@ -49,7 +49,7 @@ LidWatcher::LidState LidWatcher::state() const {
} }
void LidWatcher::queryInitialState() { void LidWatcher::queryInitialState() {
const auto msg = QDBusMessage::createMethodCall( auto msg = QDBusMessage::createMethodCall(
kLogin1Service, kLogin1Path, kLogin1Service, kLogin1Path,
kDBusPropertiesInterface, "Get"); kDBusPropertiesInterface, "Get");
msg << kLogin1Interface << "LidClosed"; msg << kLogin1Interface << "LidClosed";