diff options
author | arg@10ksloc.org <unknown> | 2006-08-01 14:46:01 +0200 |
---|---|---|
committer | arg@10ksloc.org <unknown> | 2006-08-01 14:46:01 +0200 |
commit | 77f8c075c48e510e064b8f0b7b823a7e1f9f44b7 (patch) | |
tree | fb47710d61c0ecd97ec622aab8d3d9cdcd627260 /event.c | |
parent | 33b4821cd69ed4c0a9af58f0af96de430277a08a (diff) | |
download | dwm-77f8c075c48e510e064b8f0b7b823a7e1f9f44b7.tar.gz dwm-77f8c075c48e510e064b8f0b7b823a7e1f9f44b7.tar.bz2 dwm-77f8c075c48e510e064b8f0b7b823a7e1f9f44b7.zip |
uppercasing all define'd values (uppercase-prefixed should only be enum field qualifiers)
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -32,12 +32,12 @@ movemouse(Client *c) ocx = c->x; ocy = c->y; - if(XGrabPointer(dpy, root, False, MouseMask, GrabModeAsync, GrabModeAsync, + if(XGrabPointer(dpy, root, False, MOUSEMASK, GrabModeAsync, GrabModeAsync, None, cursor[CurMove], CurrentTime) != GrabSuccess) return; XQueryPointer(dpy, root, &dummy, &dummy, &x1, &y1, &di, &di, &dui); for(;;) { - XMaskEvent(dpy, MouseMask | ExposureMask, &ev); + XMaskEvent(dpy, MOUSEMASK | ExposureMask, &ev); switch (ev.type) { default: break; case Expose: @@ -65,12 +65,12 @@ resizemouse(Client *c) ocx = c->x; ocy = c->y; - if(XGrabPointer(dpy, root, False, MouseMask, GrabModeAsync, GrabModeAsync, + if(XGrabPointer(dpy, root, False, MOUSEMASK, GrabModeAsync, GrabModeAsync, None, cursor[CurResize], CurrentTime) != GrabSuccess) return; XWarpPointer(dpy, None, c->win, 0, 0, 0, 0, c->w, c->h); for(;;) { - XMaskEvent(dpy, MouseMask | ExposureMask, &ev); + XMaskEvent(dpy, MOUSEMASK | ExposureMask, &ev); switch(ev.type) { default: break; case Expose: |