nanogui: mouse position error


Previous by date: 27 Jul 2000 04:56:11 -0000 Re: nano_X api, Greg Haerr
Next by date: 27 Jul 2000 04:56:11 -0000 Re: microwindows for StrongARM- mouse support, Greg Haerr
Previous in thread: 27 Jul 2000 04:56:11 -0000 mouse position error, Paul Phillips
Next in thread:

Subject: Re: mouse position error
From: "Greg Haerr" ####@####.####
Date: 27 Jul 2000 04:56:11 -0000
Message-Id: <032d01bff786$f6f51b40$15320cd0@gregh>

I previously reported a problem with the X mouse position reported by
microwindows and nanoX. Here is a bit more information. I am using
microwindows with nano-x version 0.88pre10 on a Linux - X86 box. What I
see is that the x position reported from mou_x11.c oscillates/alternates
by a factor of about 14 pixels. Near the left edge (about 14 pixels or
less) the mouse position will report something like x=0, y=100 ..
x=14,y=100 ... x=0, y=100... x=14, y=100. Actually, at any point on the
screen I get alternating x offsets with a delta of 14 pixels ie
(x=100,y=100..x=114,y=100) mouse move 1 pixel in X direction
(x=101,y=100..x=115,y=100). Is this some kind of problem with XWindows??


Paul,
    This is indeed very strange.  I think it is related only to the
Microwindows X screen driver, it would be nice to have you
run this on the raw framebuffer.  I think it's related to the X
driver turning on and off the mouse cursor (so that it can be
redrawn by Microwindows when in the window) on enter
and exit events.  Perhaps that code should be removed
from the X events request and re-run.

BTW, I'm very interested in your Squeak port.  I just learned
about squeak from another post and it sounds quite interesting.
Are you going to be releasing the port source?

Regards,

Greg



Previous by date: 27 Jul 2000 04:56:11 -0000 Re: nano_X api, Greg Haerr
Next by date: 27 Jul 2000 04:56:11 -0000 Re: microwindows for StrongARM- mouse support, Greg Haerr
Previous in thread: 27 Jul 2000 04:56:11 -0000 mouse position error, Paul Phillips
Next in thread:


Powered by ezmlm-browse 0.20.