2
1
I have a multi-monitor setup, and run almost all programs in windowed-mode. This works great for the most part, but is problematic when some applications, or even webbapps, use the position of the mouse inside the window for interfacing. When I inevitably get sloppy, move the mouse too far, and click, the window I was working with looses focus, and all kind of weird things happen with the action I was trying to achieve by clicking.
What I want to do is tell windows' desktop manager that untill I tell it oterwise (say by leaving the application by alt-tabbing), the cursor should not be able to leave a selected window. Is that possible? If not, can the same effect reliably be achieved with third party applications?
It works rather well, however there is a small issue where the window gets deselected when you move or resize it. When you move it, it seems that it can be selected again, but when I've resized it I can't get the mouse captured again without going through the process of selecting window to be captured again. But it is a rather insignificant issue given the convenience of how well it works, and that the combination of an obscure use case and an extreme edge case is where it breaks, so I'll mark it as accepted =) – simonra – 2015-05-24T21:55:30.770