Send UTF-8 events on the keyboard channel

This avoids racing with regular keyboard events that could affect the input.
This commit is contained in:
Cameron Gutman committed 2026-10-19 01:25:18 -05:00
1 parent 342b106bbb
commit 4a95eb35b2
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -980,7 +980,7 @@ int LiSendUtf8TextEvent(const char *text, unsigned int length) {
return -1;
}
holder->channelId = CTRL_CHANNEL_UTF8;
holder->channelId = CTRL_CHANNEL_KEYBOARD;
holder->enetPacketFlags = ENET_PACKET_FLAG_RELIABLE;
// Magic + string length