Mercurial > aewl
comparison client.c @ 148:5267e1204367
uppercasing all define'd values (uppercase-prefixed should only be enum field qualifiers)
author | arg@10ksloc.org |
---|---|
date | Tue, 01 Aug 2006 14:46:01 +0200 |
parents | 36cabfe408cd |
children | e1859517e3a6 |
comparison
equal
deleted
inserted
replaced
147:a94577c9de73 | 148:5267e1204367 |
---|---|
242 if(clients) | 242 if(clients) |
243 clients->prev = c; | 243 clients->prev = c; |
244 c->next = clients; | 244 c->next = clients; |
245 clients = c; | 245 clients = c; |
246 | 246 |
247 XGrabButton(dpy, Button1, MODKEY, c->win, False, ButtonMask, | 247 XGrabButton(dpy, Button1, MODKEY, c->win, False, BUTTONMASK, |
248 GrabModeAsync, GrabModeSync, None, None); | 248 GrabModeAsync, GrabModeSync, None, None); |
249 XGrabButton(dpy, Button2, MODKEY, c->win, False, ButtonMask, | 249 XGrabButton(dpy, Button2, MODKEY, c->win, False, BUTTONMASK, |
250 GrabModeAsync, GrabModeSync, None, None); | 250 GrabModeAsync, GrabModeSync, None, None); |
251 XGrabButton(dpy, Button3, MODKEY, c->win, False, ButtonMask, | 251 XGrabButton(dpy, Button3, MODKEY, c->win, False, BUTTONMASK, |
252 GrabModeAsync, GrabModeSync, None, None); | 252 GrabModeAsync, GrabModeSync, None, None); |
253 | 253 |
254 if(!c->isfloat) | 254 if(!c->isfloat) |
255 c->isfloat = trans || (c->maxw && c->minw && | 255 c->isfloat = trans || (c->maxw && c->minw && |
256 (c->maxw == c->minw) && (c->maxh == c->minh)); | 256 (c->maxw == c->minw) && (c->maxh == c->minh)); |