From 35bfab4f6e8c664617bf2b119a9e6ec4106157c2 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 17 Aug 2017 01:28:52 +0200 Subject: [PATCH] test: when restoring the log handler to defaults, also restore log priority Signed-off-by: Peter Hutterer --- test/litest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/litest.c b/test/litest.c index c33ba759..196fb1fa 100644 --- a/test/litest.c +++ b/test/litest.c @@ -1351,6 +1351,8 @@ void litest_restore_log_handler(struct libinput *libinput) { libinput_log_set_handler(libinput, litest_log_handler); + if (verbose) + libinput_log_set_priority(libinput, LIBINPUT_LOG_PRIORITY_DEBUG); } LIBINPUT_ATTRIBUTE_PRINTF(3, 0)