about summary refs log tree commit diff
path: root/mousefunc.c
diff options
context:
space:
mode:
authorokan <okan>2013-06-17 17:11:10 +0000
committerokan <okan>2013-06-17 17:11:10 +0000
commit234b8214df298740b37ad566771a9df2f1b3aec6 (patch)
treee7379452f7f424b6a8d44be6b6bfd4c9ee728b90 /mousefunc.c
parent23d84adb5ed6cc3890fb1d74d4d5a43004b0ea0d (diff)
downloadcwm-234b8214df298740b37ad566771a9df2f1b3aec6.tar.gz
cwm-234b8214df298740b37ad566771a9df2f1b3aec6.tar.xz
cwm-234b8214df298740b37ad566771a9df2f1b3aec6.zip
move Cursors into conf.
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 a41a3ad..90c7078 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);