소스 검색

[KMS/DRM] Remove redundant SDL_SendWindowEvent() call.

Manuel Alfayate Corchete 4 년 전
부모
커밋
538f7ad6b7
1개의 변경된 파일0개의 추가작업 그리고 9개의 파일을 삭제
  1. 0 9
      src/video/kmsdrm/SDL_kmsdrmvideo.c

+ 0 - 9
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) {