Drag and drop 2.5 integration! Finally, slashdot regulars can use
[blender-staging.git] / source / blender / windowmanager / intern / wm_cursors.c
index dfcc1fcd2274541074da73de4035a1149336dfe2..f23688404b1428df027a9f20fe7bc0e7279d92ca 100644 (file)
@@ -64,6 +64,7 @@ static GHOST_TStandardCursor convert_cursor(int curs)
                case CURSOR_X_MOVE:             return GHOST_kStandardCursorLeftRight;
                case CURSOR_Y_MOVE:             return GHOST_kStandardCursorUpDown;
                case CURSOR_PENCIL:             return GHOST_kStandardCursorPencil;
+               case CURSOR_COPY:               return GHOST_kStandardCursorCopy;
        }
 }
 
@@ -136,9 +137,10 @@ void WM_cursor_set(wmWindow *win, int curs)
 
 void WM_cursor_modal(wmWindow *win, int val)
 {
-       if(win->lastcursor == 0)
+       if(win->lastcursor == 0) {
                win->lastcursor = win->cursor;
-       WM_cursor_set(win, val);
+               WM_cursor_set(win, val);
+       }
 }
 
 void WM_cursor_restore(wmWindow *win)