-/* xscreensaver, Copyright (c) 1999-2013 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1999-2014 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
int size, r, gw, gh, x, y, i;
double th = 0;
- grid_size = get_integer_resource (st->dpy, "size", "Size");
if (grid_size < 5) grid_size = 5;
size = ((st->xgwa.width > st->xgwa.height
{
state *st = (state *) closure;
- if (event->type == ButtonPress || event->type == KeyPress)
+ if (screenhack_event_helper (dpy, window, event))
{
cell *c = st->cells;
st->cells = 0;
"*ncolors: 128",
"*uniform: Maybe",
"*lockstep: Maybe",
-#ifdef USE_IPHONE
+#ifdef HAVE_MOBILE
"*ignoreRotation: True",
#endif
0