From e0601d2f13067f496a5a6a8195f2f92c8a04f837 Mon Sep 17 00:00:00 2001 From: Ph42oN Date: Sun, 7 Jan 2024 11:56:53 +0200 Subject: [PATCH] change toggleTearing log --- src/action.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/action.c b/src/action.c index a034789d..f12874e1 100644 --- a/src/action.c +++ b/src/action.c @@ -956,8 +956,9 @@ actions_run(struct view *activator, struct server *server, case ACTION_TYPE_TOGGLE_TEARING: if (view) { view->tearing_hint = !view->tearing_hint; + wlr_log(WLR_DEBUG, "tearing %sabled", + view->tearing_hint ? "en" : "dis"); } - wlr_log(WLR_DEBUG, "tearing: %d", view->tearing_hint); break; case ACTION_TYPE_INVALID: wlr_log(WLR_ERROR, "Not executing unknown action");