Skip to content

Commit

Permalink
riscos: Restore mouse palette when exiting while the mouse is in focus
Browse files Browse the repository at this point in the history
  • Loading branch information
ccawley2011 committed Aug 17, 2018
1 parent 7abdf77 commit 4c1dceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/video/riscos/SDL_riscosmouse_c.h
Expand Up @@ -42,3 +42,4 @@ void FULLSCREEN_WarpWMCursor(_THIS, Uint16 x, Uint16 y);
int WIMP_ShowWMCursor(_THIS, WMcursor *cursor);
void WIMP_WarpWMCursor(_THIS, Uint16 x, Uint16 y);

void WIMP_RestoreWimpCursor();
2 changes: 1 addition & 1 deletion src/video/riscos/SDL_riscostask.c
Expand Up @@ -136,7 +136,7 @@ void RISCOS_ExitTask()
{
/* Ensure cursor is put back to standard pointer shape if
we have been running in a window */
_kernel_osbyte(106,1,0);
WIMP_RestoreWimpCursor();
}

/* Ensure we end up back in the wimp */
Expand Down

0 comments on commit 4c1dceb

Please sign in to comment.