Make sure mouse is grabbed on startup
This commit is contained in:
parent
350b114e2e
commit
efd8d84d4f
1 changed files with 1 additions and 0 deletions
|
@ -980,6 +980,7 @@ static void start_program(void)
|
||||||
// record capslock pressed
|
// record capslock pressed
|
||||||
inputdevice_do_keyboard(AK_CAPSLOCK, 1);
|
inputdevice_do_keyboard(AK_CAPSLOCK, 1);
|
||||||
}
|
}
|
||||||
|
set_mouse_grab(true);
|
||||||
do_start_program();
|
do_start_program();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue