From 0775e739b7f6a990550f8498b8de3655286ae051 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 31 Dec 2013 02:00:21 +0100 Subject: Fix T37947: large cursors now also work on linux/mac for the edit mode cross. --- source/blender/windowmanager/intern/wm_cursors.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/windowmanager') diff --git a/source/blender/windowmanager/intern/wm_cursors.c b/source/blender/windowmanager/intern/wm_cursors.c index 9b308553006..e6fc2cf6bb2 100644 --- a/source/blender/windowmanager/intern/wm_cursors.c +++ b/source/blender/windowmanager/intern/wm_cursors.c @@ -122,6 +122,11 @@ void WM_cursor_set(wmWindow *win, int curs) * only 1 pixel thick, use another one instead */ if (curs == CURSOR_EDIT) curs = BC_CROSSCURSOR; +#else + /* in case of large cursor, also use custom cursor because + * large cursors don't work for system cursors */ + if (U.curssize && curs == CURSOR_EDIT) + curs = BC_CROSSCURSOR; #endif GHOST_SetCursorVisibility(win->ghostwin, 1); -- cgit v1.2.3