-/* xscreensaver, Copyright (c) 1999-2008 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1999-2012 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
struct throbber *t = (struct throbber *) malloc (sizeof (*t));
t->x = w / 2;
t->y = h / 2;
- t->max_size = w;
+ t->max_size = (w > h ? w : h);
t->speed = get_integer_resource (st->dpy, "speed", "Speed");
t->fuse = 1 + (random() % 4);
t->thickness = get_integer_resource (st->dpy, "thickness", "Thickness");