Browse Source

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

(cherry picked from commit 3bf2b90da09637059cac62a08ac42b630bbfa817)
1F616EMO 1 năm trước cách đây
mục cha
commit
c60e2704c8
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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);
     }
 }