commit b228ff41718a2865b0d552042f65e3c86d414a9c
parent a8d3c69f03d5ae650fe1f55b485ad7f45fe32924
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Sun, 12 Mar 2006 00:20:47 +0100
changed cursor stuff in event.c
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/cmd/wm/event.c b/cmd/wm/event.c
@@ -239,10 +239,10 @@ handle_motionnotify(XEvent *e)
{
Client *c = win2clientframe(e->xmotion.window);
if(c) {
- Cursor cursor = cursor_for_motion(c, e->xmotion.x, e->xmotion.y);
- if(cursor != c->cursor) {
- c->cursor = cursor;
- XDefineCursor(dpy, c->framewin, cursor);
+ Cursor cur = cursor_for_motion(c, e->xmotion.x, e->xmotion.y);
+ if(cur != c->cursor) {
+ c->cursor = cur;
+ XDefineCursor(dpy, c->framewin, cur);
}
}
}