The lugaru code revealed a hidden option:
So there is no need to patch the binary, just use
Its really small, only 11s with 1 core to compile (used cmake branch) of
Code:
if (!cmdline("nomousegrab")) SDL_WM_GrabInput(SDL_GRAB_ON);
Code:
./lugaru nomousegrab
Comment