Mouse Jail for Twinview
This program will trap the mouse within certain screen coordinates. It can keep your mouse in 1 screen when trying to play games so it doesn't mess up side scrolling and eliminates the possibility of clicking on other windows which makes the game lose focus. The original version of MouseJail was designed to work with xinerama, but I modified it so that it works with nVidia's twinview. I personally use Openbox and it works great.
To use, just compile it and then run it like this (use appropriate coordinates):
./Jail 0 0 1920 1080
Note that the mouse might jump outside those boundaries for quick moments so use:
./Jail 0 0 1917 1080



