# HG changeset patch # User Cameron Cawley # Date 1534535554 -3600 # Fri Aug 17 20:52:34 2018 +0100 # Branch SDL-1.2 # Node ID 918f7fa1c795b2518ca6ca03480996a9afc3c0b8 # Parent b8fefd3852f3329775b9634f7519af842d2bd8e3 riscos: Restore mouse palette when exiting while the mouse is in focus diff -r b8fefd3852f3 -r 918f7fa1c795 src/video/riscos/SDL_riscosmouse_c.h --- a/src/video/riscos/SDL_riscosmouse_c.h Fri Aug 17 20:23:42 2018 +0100 +++ b/src/video/riscos/SDL_riscosmouse_c.h Fri Aug 17 20:52:34 2018 +0100 @@ -42,3 +42,4 @@ int WIMP_ShowWMCursor(_THIS, WMcursor *cursor); void WIMP_WarpWMCursor(_THIS, Uint16 x, Uint16 y); +void WIMP_RestoreWimpCursor(); diff -r b8fefd3852f3 -r 918f7fa1c795 src/video/riscos/SDL_riscostask.c --- a/src/video/riscos/SDL_riscostask.c Fri Aug 17 20:23:42 2018 +0100 +++ b/src/video/riscos/SDL_riscostask.c Fri Aug 17 20:52:34 2018 +0100 @@ -132,7 +132,7 @@ { /* 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 */