mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-28 08:48:43 +00:00
riscos: Ensure the mouse focus is set when creating the window
This commit is contained in:
parent
6eda520f64
commit
cb43eb43f8
1 changed files with 4 additions and 0 deletions
|
|
@ -25,6 +25,8 @@
|
|||
#include "SDL_version.h"
|
||||
#include "SDL_syswm.h"
|
||||
#include "../SDL_sysvideo.h"
|
||||
#include "../../events/SDL_mouse_c.h"
|
||||
|
||||
|
||||
#include "SDL_riscosvideo.h"
|
||||
#include "SDL_riscoswindow.h"
|
||||
|
|
@ -42,6 +44,8 @@ RISCOS_CreateWindow(_THIS, SDL_Window * window)
|
|||
|
||||
window->flags |= SDL_WINDOW_FULLSCREEN;
|
||||
|
||||
SDL_SetMouseFocus(window);
|
||||
|
||||
/* All done! */
|
||||
window->driverdata = driverdata;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue