diff options
author | okan <okan> | 2013-06-17 17:11:10 +0000 |
---|---|---|
committer | okan <okan> | 2013-06-17 17:11:10 +0000 |
commit | 234b8214df298740b37ad566771a9df2f1b3aec6 (patch) | |
tree | e7379452f7f424b6a8d44be6b6bfd4c9ee728b90 /calmwm.c | |
parent | 23d84adb5ed6cc3890fb1d74d4d5a43004b0ea0d (diff) | |
download | cwm-234b8214df298740b37ad566771a9df2f1b3aec6.tar.gz cwm-234b8214df298740b37ad566771a9df2f1b3aec6.tar.xz cwm-234b8214df298740b37ad566771a9df2f1b3aec6.zip |
move Cursors into conf.
Diffstat (limited to 'calmwm.c')
-rw-r--r-- | calmwm.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/calmwm.c b/calmwm.c index ee1224d..6a189d2 100644 --- a/calmwm.c +++ b/calmwm.c @@ -38,12 +38,6 @@ char **cwm_argv; Display *X_Dpy; -Cursor Cursor_default; -Cursor Cursor_move; -Cursor Cursor_normal; -Cursor Cursor_question; -Cursor Cursor_resize; - struct screen_ctx_q Screenq = TAILQ_HEAD_INITIALIZER(Screenq); struct client_ctx_q Clientq = TAILQ_HEAD_INITIALIZER(Clientq); @@ -139,11 +133,7 @@ x_init(const char *dpyname) xu_getatoms(); - Cursor_default = XCreateFontCursor(X_Dpy, XC_X_cursor); - Cursor_move = XCreateFontCursor(X_Dpy, XC_fleur); - Cursor_normal = XCreateFontCursor(X_Dpy, XC_left_ptr); - Cursor_question = XCreateFontCursor(X_Dpy, XC_question_arrow); - Cursor_resize = XCreateFontCursor(X_Dpy, XC_bottom_right_corner); + conf_cursor(&Conf); for (i = 0; i < ScreenCount(X_Dpy); i++) screen_init(i); |