-ModeSpecOpt sproingies_opts =
-{0, NULL, 0, NULL, NULL};
+#define DEF_SMART_SPROINGIES "True" /* Smart sproingies do not fall down the edge */
+
+#include "sproingies.h"
+
+#undef countof
+#define countof(x) (sizeof((x))/sizeof((*x)))
+
+static XrmOptionDescRec opts[] = {
+ {"-fall", ".smartSproingies", XrmoptionNoArg, "False"},
+ {"-no-fall", ".smartSproingies", XrmoptionNoArg, "True"},
+};
+
+static int smrt_spr;
+
+static argtype vars[] = {
+ {&smrt_spr, "smartSproingies", "Boolean", DEF_SMART_SPROINGIES, t_Bool},
+};
+
+ENTRYPOINT ModeSpecOpt sproingies_opts =
+{countof(opts), opts, countof(vars), vars, NULL};