patch 9.0.1234: the code style has to be checked manually
Problem: The code style has to be checked manually.
Solution: Add basic code style checks in a test. Fix or avoid uncovered
problems.
diff --git a/src/gui_x11.c b/src/gui_x11.c
index a239e0b..540f143 100644
--- a/src/gui_x11.c
+++ b/src/gui_x11.c
@@ -3095,10 +3095,13 @@
unsigned int mask;
if (gui.wid && XQueryPointer(gui.dpy, gui.wid, &root, &child,
- &rootx, &rooty, &winx, &winy, &mask)) {
+ &rootx, &rooty, &winx, &winy, &mask))
+ {
*x = winx;
*y = winy;
- } else {
+ }
+ else
+ {
*x = -1;
*y = -1;
}