forked from bartvdbraak/blender
Fix T45456: Error's in splash don't restore cursor
This commit is contained in:
parent
01a8216a4b
commit
6568b6d1cd
@ -516,6 +516,11 @@ void wm_window_add_ghostwindows(wmWindowManager *wm)
|
|||||||
wm_init_state.override_flag &= ~WIN_OVERRIDE_WINSTATE;
|
wm_init_state.override_flag &= ~WIN_OVERRIDE_WINSTATE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* without this, cursor restore may fail, T45456 */
|
||||||
|
if (win->cursor == 0) {
|
||||||
|
win->cursor = CURSOR_STD;
|
||||||
|
}
|
||||||
|
|
||||||
wm_window_add_ghostwindow(wm, "Blender", win);
|
wm_window_add_ghostwindow(wm, "Blender", win);
|
||||||
}
|
}
|
||||||
/* happens after fileread */
|
/* happens after fileread */
|
||||||
|
Loading…
Reference in New Issue
Block a user