Remove the inconsistent and lag-causing usleep call in SDL_fcitx.c
(cherry picked from commit 3bf2b90da0)
This commit is contained in:
1 parent
a9fdbf7f21
commit
c60e2704c8
1 file changed
-1
@@ -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