mirror of
https://github.com/swaywm/sway.git
synced 2026-05-05 06:46:49 -04:00
Some debug
This commit is contained in:
parent
cfee393234
commit
8f81be64fb
1 changed files with 2 additions and 1 deletions
|
|
@ -86,6 +86,7 @@ static void prepare_for_sleep(struct wlr_session *session, void *data) {
|
|||
wlr_log(L_INFO, "No lock, will inhibit");
|
||||
|
||||
fd = wlr_session_inhibit_sleep(session);
|
||||
wlr_log(L_DEBUG, "Inhibit lock fd %d", fd);
|
||||
if (!inhibit_cnt) {
|
||||
invoke_swaylock();
|
||||
|
||||
|
|
@ -95,7 +96,7 @@ static void prepare_for_sleep(struct wlr_session *session, void *data) {
|
|||
}
|
||||
inhibit_cnt++;
|
||||
|
||||
wlr_log(L_ERROR, "Inhibit done %d", inhibit_cnt);
|
||||
wlr_log(L_DEBUG, "Inhibit done %d", inhibit_cnt);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue