mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-05 06:20:26 +01:00
test: when restoring the log handler to defaults, also restore log priority
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
a915cbdbae
commit
35bfab4f6e
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue