diff --git a/src/conio/x_events.c b/src/conio/x_events.c
index 462ad8a3e1b9495dd01c3376da804e900e42035f..104fa93926631452cdc60598209b097a5f9a5041 100644
--- a/src/conio/x_events.c
+++ b/src/conio/x_events.c
@@ -553,6 +553,7 @@ fullscreen_geometry(int *x_org, int *y_org, int *width, int *height)
 			}
 		}
 #endif
+	}
 	if (root == 0)
 		return false;
 	if (x11.XGetGeometry(dpy, root, (void *)&newroot, &wx, &wy, &rw, &rh, (void *)&dummy, (void *)&dummy) == 0)