lol, k i'll try and explain...
I'm moving an entity using this small snippet...
c_move(me,vector((key_w-key_s)*5,0,0)nullvector,GLIDE);
The only problem is, is that whilst the entity is moving if you switch to another application or another window recieves focus then the entity keeps moving. You can even release the key and it will still continue to move.
I'm not really switching applications, but i'm showing a ContextMenu and so it is not giving the engine "input focus".
I thought using (key_w-key_s)*window_focus*5 would help, but it doesnt seem to work.