Slightly reworked nZain's "XCreateMouseVoid.c": no more 'modes', just
'edge resistance' all around; also fixes the slightly annoying mouse
jumping.

For best results create a window slightly larger than 'void', like this:

+------------------------+------------------------+
|        screen1          |        screen2          |
|                              |                              |
|                              +------------------------+-------------+
+------------------------+            XCreateMouseVoid       |
                               |                                                
|
                               +---------------------------------------+

This should disallow mouse 'sliding under' the void. You can specify
negative coordinates to do this for top- and/or left-positioned voids.

** Attachment added: "improved program to prevent the mouse from entering the 
void."
   
https://bugs.launchpad.net/ubuntu/+source/libxrandr/+bug/373367/+attachment/1716224/+files/XCreateMouseVoid.c

-- 
Pointer goes offscreen on non-rectangular dual-head
https://bugs.launchpad.net/bugs/373367
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to