Strange screen behavior
Enrico Spinielli
espinielli at lucent.com
Fri Nov 26 12:47:40 UTC 1999
Ian Piumarta wrote:
>
> No, it's like the original message said. I fixed this last week (it's
> been driving me nuts for the past 3 years). The code is at home, so I
> can't post it right now -- but you can do it for yourself easily enough.
>
> In HandleEvents(), add a case to the main switch() to handle MapNotify
> (just before the UnmapNotify loop for "lazy" mode is probably the most
> tasteful location):
>
> case MapNotify:
> {
> Window root, child;
> int rootX, rootY, winX, winY;
> unsigned int mask;
> if (True == XQueryPointer(stDisplay, stWindow,
> &root, &child,
> &rootX, &rootY, &winX, &winY, &mask))
> {
> mousePosition.x= winX;
> mousePosition.y= winY;
> // could also update the modifiers here based on mask, but
> // I can't be bothered...
> }
> }
> break;
>
> Type "make" in the usual place, and forget about that reflex that used
> to nag at you to always move the mouse before trying to open a menu...
>
This resolved the problem only partially...
Try to right-click on a newly open Syste Browser.
Sorry no fix
Hope it helps
--
Enrico Spinielli Lucent Technologies
voice: +353-1-204.2050 Corke Abbey
fax: +353-1-204.2057/282.7135 Bray, Co. Dublin
mailto: espinielli at lucent.com Ireland
More information about the Squeak-dev
mailing list
|