summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Alfayate Corchete <redwindwanderer@gmail.com>2021-02-05 00:27:11 +0100
committerManuel Alfayate Corchete <redwindwanderer@gmail.com>2021-02-05 00:27:11 +0100
commit5c2605c2b4d939817111a8a44a1a9c4ecc00df02 (patch)
tree34b186f096fbc77998173633cad8d7111a0ecc2f
parent24ce6653c0b451e0c2b2d68d90d51f6698e1c994 (diff)
downloadsdl-5c2605c2b4d939817111a8a44a1a9c4ecc00df02.tar.gz
[KMS/DRM] Remove redundant SDL_SendWindowEvent() call.
-rw-r--r--src/video/kmsdrm/SDL_kmsdrmvideo.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/video/kmsdrm/SDL_kmsdrmvideo.c b/src/video/kmsdrm/SDL_kmsdrmvideo.c
index 74a82dd40..a41e0760a 100644
--- a/src/video/kmsdrm/SDL_kmsdrmvideo.c
+++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c
@@ -1244,15 +1244,6 @@ KMSDRM_CreateWindow(_THIS, SDL_Window * window)
SDL_SetMouseFocus(window);
SDL_SetKeyboardFocus(window);
- /***********************************************************/
- /* Tell SDL that the mouse has entered the window using an */
- /* artificial event: we have no windowing system to tell */
- /* SDL that it has happened. This makes SDL set the */
- /* SDL_WINDOW_MOUSE_FOCUS on this window, thus fixing */
- /* Scummvm sticky-on-sides software cursor. */
- /***********************************************************/
- SDL_SendWindowEvent(window, SDL_WINDOWEVENT_ENTER, 0, 0);
-
cleanup:
if (ret) {