X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=spectrwm.c;h=f47613465d6d8b9e6c1cda9c930dcbe7ba94b5a6;hb=8d6f43bd88e79d5222889eb3f1a2f0ac25f1695b;hp=993abfd52380806e6b0ecdb3b624f61b83580775;hpb=09729fd71575cdd663856f441ba8671f4032feb1;p=spectrwm.git diff --git a/spectrwm.c b/spectrwm.c index 993abfd..f476134 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -1068,7 +1068,8 @@ char * expand_tilde(const char *s) { struct passwd *ppwd; - int i, max; + int i; + long max; char *user; const char *sc = s; char *result; @@ -7855,9 +7856,6 @@ leavenotify(xcb_leave_notify_event_t *e) } #endif -/* lets us use one switch statement for arbitrary mode/detail combinations */ -#define MERGE_MEMBERS(a,b) (((a & 0xffff) << 16) | (b & 0xffff)) - void mapnotify(xcb_map_notify_event_t *e) {