mousetweaks merge requestshttps://gitlab.gnome.org/Archive/mousetweaks/-/merge_requests2020-06-26T17:03:13Zhttps://gitlab.gnome.org/Archive/mousetweaks/-/merge_requests/3main: Check if we are running under X112020-06-26T17:03:13ZPeter Keresztes Schmidtmain: Check if we are running under X11Calls to X11 functions when running under Wayland lead to SIGSEVS.
Abort gracefully if we are not running under X11.
Example stacktrace:
```
0 0x00007fa7679c203d in XQueryExtension () at /lib64/libX11.so.6
1 0x00007fa767969fb7 i...Calls to X11 functions when running under Wayland lead to SIGSEVS.
Abort gracefully if we are not running under X11.
Example stacktrace:
```
0 0x00007fa7679c203d in XQueryExtension () at /lib64/libX11.so.6
1 0x00007fa767969fb7 in () at /lib64/libXtst.so.6
2 0x00007fa76796a166 in XTestQueryExtension () at /lib64/libXtst.so.6
3 0x000055d422d5aea3 in ()
4 0x00007fa7677a0f33 in __libc_start_main () at /lib64/libc.so.6
5 0x000055d422d5b32e in ()
```