support ctrl-g for (un)grabbing mouse

Many Linux Games support that
Pause when window loses focus, introduce com_pause

If the window loses focus com_pause is set to 1, when it regains focus
it's set to 0.
The behaviour on Win32 stayed the same (the implementation is less
hacky though) and Linux now matchces that.