Updated fix script:

#!/bin/sh

ORIG="$(xmousepos 2> /dev/null | cut -f 1,2 -d ' ')"
xte "mousemove -1 -1"
if [ x"$ORIG" = x"" ]; then ORIG="0 0"; fi
xte "mousemove $ORIG"


On Fri, Jan 23, 2009 at 9:45 AM, Michael Joyner <[email protected]>wrote:

>
> Potentially use information when attempting to implement the "FIX":
>
> My shell script:
>
>
> <------------------
> #!/bin/sh
>
> ORIG="$(xmousepos | cut -f 1,2 -d ' ')"
> xte "mousemove 4000 4000"
> xte "mousemove $ORIG"
> <------------------
>
> Instead of xmousepos returning mouse coordinates after the bug has been
> triggered, I instead get:
>
> mjoy...@mjoyner-x64b:~$ fix
> X Error of failed request:  BadWindow (invalid Window parameter)
>   Major opcode of failed request:  38 (X_QueryPointer)
>   Resource id in failed request:  0x0
>   Serial number of failed request:  8
>   Current serial number in output stream:  8
>
>
>
>

-- 
X.org will stop responding to mouse clicks on Ibex with Xinerama.  Occurs 
frequently, Fatal Error.
https://bugs.launchpad.net/bugs/296167
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to