mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-01 23:07:45 +08:00
Remove the inconsistent and lag-causing usleep call in SDL_fcitx.c
This commit is contained in:
@@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user