Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm on a Mac Mini 2011 with VirtualBox installed. I have Windows 7 running as a Guest OS.

My question: How do I "trap" my mouse pointer within Windows? In other words, I don't want my mouse to move outside to the Host OS. Ideally, I would be able to press the Host key to "untrap" my mouse.

The purpose: I'm playing Warcraft 3 in the Guest OS and I can't scroll the screen since the mouse keeps jumping to the Host OS instead of scrolling the screen. This happens even in full-screen mode.

share|improve this question
add comment

2 Answers

up vote 6 down vote accepted

Select Disable Mouse Integration from VirtualBox's Machine menu. Next, click within the guest OS to capture the mouse.

capture

share|improve this answer
add comment

Use this command to make it permanent.

VBoxManage modifyvm "your-vm-name" --mouse ps2
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.