nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: mouse position incorrectly reported?
From: Paul Phillips
Date: Mon, 24 Jul 2000 17:59:37 -0700

I am running an application that I ported to microwindows (namely the
Squeak version of Smalltalk). I notice that the X offset for the mouse
pointer is off by about fourteen pixels, while the Y position is right
on. 
For example, when the pointer on the screen is at the right edge of the
screen (640X480 screen X=639) the mouse position in microwindow reports
X=625. At the left side of the screen, the pointer reports X=0  about 14
pixels to the right of the left border. This is causing a disconnect
between where the application places the graphics, (such as a button)
and wher it thinks the mouse pointer is. Any ideas what is going on??
 
Thanks in advance,
 
Paul Phillips


nanogui@linuxhacker.org