소스 검색

Remove the inconsistent and lag-causing usleep call in SDL_fcitx.c

(cherry picked from commit 3bf2b90da09637059cac62a08ac42b630bbfa817)
1F616EMO 1 년 전
부모
커밋
c60e2704c8
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      src/core/linux/SDL_fcitx.c

+ 0 - 1
src/core/linux/SDL_fcitx.c

@@ -485,7 +485,6 @@ void SDL_Fcitx_PumpEvents(void)
 
     while (dbus->connection_dispatch(conn) == DBUS_DISPATCH_DATA_REMAINS) {
         /* Do nothing, actual work happens in DBus_MessageFilter */
-        usleep(10);
     }
 }