feat: open gtklock from outside once it can
This commit is contained in:
1 parent
c228291520
commit
5699158bb1
9 files changed
+61
-19
No files matched your search
+4
-1
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
//
|
||||
// The lock screens that are programs of their own and take signals from
|
||||
// outside: hyprlock and swaylock open on SIGUSR1.
|
||||
// outside: hyprlock, swaylock and gtklock open on SIGUSR1.
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -19,4 +19,7 @@ QList<pid_t> find(const QByteArray &name = {});
|
||||
// that, the signal kills it, and the compositor keeps the screen locked with
|
||||
// nobody to open it.
|
||||
int signal(int sig, const QByteArray &name = {});
|
||||
// Whether one of them handles sig: gtklock only opens on SIGUSR1 since 2025,
|
||||
// and none does before it has locked.
|
||||
bool ready(int sig);
|
||||
}
|
||||
Reference in new issue
Block a user