From Quake Wiki
|Saved to config.cfg:||yes|
If the game is running in a window and _windowed_mouse is set to 1, then the mouse will control aiming in Quake. If it is set to 0, the mouse will become a Windows (or Linux I suppose) cursor, ignored by Quake.
|List of console variables | List of console commands|