#undef countof
#define countof(x) (sizeof((x))/sizeof((*x)))
-#ifndef HAVE_COCOA
+#ifndef HAVE_JWXYZ
# include <X11/cursorfont.h>
#endif
"*delay: 10000",
"*linger: 5",
"*colors: 200",
-#ifdef USE_IPHONE
+#ifdef HAVE_MOBILE
"*ignoreRotation: True",
#endif
0
#endif
typedef struct {
-# ifndef HAVE_COCOA
+# ifndef HAVE_JWXYZ
Cursor band_cursor;
# endif
double p_min, p_max, q_min, q_max;
unsigned char key;
int i;
if (XLookupString(event, (char *)&key, sizeof(key), (KeySym *)0,
- (XComposeStatus *) 0) > 0)
+ (XComposeStatus *) 0) > 0) {
if (st->reset_countdown)
st->reset_countdown = st->linger;
case 'H': print_help(st); return True;
default: return False;
}
+ }
return False;
}