Comment 140 for bug 296167

Revision history for this message
geekfreak (davey-geekfreak) wrote :

maybe the fix is to force move the mouse from a different screen to the primary, i'm usually on the second or third screen when it happens, and my script pushes it to the first.

I've just confirmed, if my mouse is displayed on the first screen and i break it, it mousemouse 0 0 wont fix it, but moving the mouse to the second screen and mousemove 0 0 will fix it.

sounds to me like there is different code being executed if the mouse is on the current screen (which makes perfect sense) and you need to force X to move the mouse to a different screen.

so it may just be as simple as moving the mouse to a different screen.

this jives with my initial investigation as originally i wanted to have the hotkey center the mouse in the display but this didn't work (no doubt as my cursor was on that screen when I tried).

so that would make the current fix

either
 change the script to move the mouse to two screens.
or
 just move the mouse to the other screen before hitting the hotkey.

i'd be interested to know if those can be shown as a consistent fix. and i'll update my blog post.