about summary refs log tree commit diff
path: root/mousefunc.c
diff options
context:
space:
mode:
authorokan <okan>2013-06-20 02:33:57 +0000
committerokan <okan>2013-06-20 02:33:57 +0000
commit9a12ca3520e1f8d5673755d0dbe73e9d94bdbc79 (patch)
tree1f679799de165046b7704886b55cde893eff0cc1 /mousefunc.c
parentc30653b1c34cff7ca527e15918595e8bea6941c3 (diff)
parent7004700ce0b216f4ea4bb84043acb311928c9a6d (diff)
downloadcwm-9a12ca3520e1f8d5673755d0dbe73e9d94bdbc79.tar.gz
cwm-9a12ca3520e1f8d5673755d0dbe73e9d94bdbc79.tar.xz
cwm-9a12ca3520e1f8d5673755d0dbe73e9d94bdbc79.zip
cvsimport
Diffstat (limited to 'mousefunc.c')
-rw-r--r--mousefunc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mousefunc.c b/mousefunc.c
index 9305633..158a791 100644
--- a/mousefunc.c
+++ b/mousefunc.c
@@ -81,7 +81,7 @@ mousefunc_window_resize(struct client_ctx *cc, void *arg)
 	client_raise(cc);
 	client_ptrsave(cc);
 
-	if (xu_ptr_grab(cc->win, MOUSEMASK, Cursor_resize) < 0)
+	if (xu_ptr_grab(cc->win, MOUSEMASK, Conf.cursor[CF_RESIZE]) < 0)
 		return;
 
 	xu_ptr_setpos(cc->win, cc->geom.w, cc->geom.h);
@@ -137,7 +137,7 @@ mousefunc_window_move(struct client_ctx *cc, void *arg)
 	if (cc->flags & CLIENT_FREEZE)
 		return;
 
-	if (xu_ptr_grab(cc->win, MOUSEMASK, Cursor_move) < 0)
+	if (xu_ptr_grab(cc->win, MOUSEMASK, Conf.cursor[CF_MOVE]) < 0)
 		return;
 
 	xu_ptr_getpos(cc->win, &px, &py);