1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-16 16:23:25 +00:00

Added workaround for when server passes windows specific keyflags.

This commit is contained in:
Bryan Roe
2022-02-26 12:27:17 -08:00
parent 2eb4d065c2
commit 91cde55010

View File

@@ -196,6 +196,7 @@ void KeyAction(unsigned char vk, int up, Display *display)
int i = 0; int i = 0;
unsigned int keysym = 0; unsigned int keysym = 0;
unsigned int keycode = 0; unsigned int keycode = 0;
if (up == 4) { up = 0; }
if (change_display) if (change_display)
{ {