Segfault on Wayland Gnome
The function XTestQueryExtension
inside mt_data_init
function in mt_main.c
file crashes when run on a Wayland system.
The observable message in dmesg is something like:
mousetweaks[62034]: segfault at 21 ip 00007fe8023822d7 sp 00007fff7cdd1070 error 4 in libX11.so.6.3.0[7fe802367000+8a000]
I've found that this bug was also reported on: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956523
A workaround is to explicitly specify the display to use, for example with the --display=:0
argument.