diff options
Diffstat (limited to 'backends/platform/sdl/sdl-window.h')
-rw-r--r-- | backends/platform/sdl/sdl-window.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/sdl/sdl-window.h b/backends/platform/sdl/sdl-window.h index 4f6d924411..e1a3499d19 100644 --- a/backends/platform/sdl/sdl-window.h +++ b/backends/platform/sdl/sdl-window.h @@ -58,8 +58,10 @@ public: /** * Warp the mouse to the specified position in window coordinates. The mouse * will only be warped if the window is focused in the window manager. + * + * @returns true if the system cursor was warped. */ - void warpMouseInWindow(int x, int y); + bool warpMouseInWindow(int x, int y); /** * Iconifies the window. |