define _XOPEN_SOURCE, fix #36 (again)
[neverball] / share / gui.c
index 0daeb62..13f4c93 100644 (file)
@@ -1433,6 +1433,11 @@ int gui_point(int id, int x, int y)
         return active = jd;
 }
 
+void gui_focus(int i)
+{
+    active = i;
+}
+
 int gui_click(void)
 {
     return active;