From 8f81be64fb16db0a6fd9598c68b2acd3282b8f42 Mon Sep 17 00:00:00 2001 From: Mattias Eriksson Date: Fri, 27 Apr 2018 09:11:34 +0200 Subject: [PATCH] Some debug --- sway/idle.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sway/idle.c b/sway/idle.c index 44a80c7a1..67b8a388f 100644 --- a/sway/idle.c +++ b/sway/idle.c @@ -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; }