Explorar o código

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

1F616EMO hai 1 ano
pai
achega
3bf2b90da0
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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) {
     while (dbus->connection_dispatch(conn) == DBUS_DISPATCH_DATA_REMAINS) {
         /* Do nothing, actual work happens in DBus_MessageFilter */
         /* Do nothing, actual work happens in DBus_MessageFilter */
-        usleep(10);
     }
     }
 }
 }