Rémi Bernon (@rbernon) commented about server/queue.c:
shared->cursor_count = 0; memset( (void *)shared->keystate, 0, sizeof(shared->keystate) ); shared->keystate_lock = 0;
shared->desktop_keystate_serial = 0;
This could be initialized to 1, or the desktop serial could be initialized to 0, either way there's no reason to make their initial values different.
```suggestion:-2+0 memset( (void *)shared->keystate, 0, sizeof(shared->keystate) ); shared->keystate_serial = 0; shared->keystate_lock = 0; ```