From: <pl...@pi...> - 2008-12-29 01:06:25
|
Ben Abbott wrote: >>>> Ben >> So this seems to confirm my suggestion that it is related to the >> window >> being stretched to add the cursor output zone. There is probably some >> difference in the way events are triggered and processed on OSX that >> leads to it getting several mouse events, each one pumping the window >> height. >> >> Can you arrange it so that your mouse is away from where the x window >> appears so that there is no mouse events? On linux that will give a >> plot >> with no extra space for mouse position output. >> >> On linux a static mouse in the window's area whenit comes up does not >> cause any output or window increase until it is moved. I think that is >> where the difference lies. > > Mouse oriented focus doens't make any difference. However, your > question did ring a bell. > > The X11 on Mac OSX has preferences for (1) Focus Follows Mouse and/or > (2) Focus On New Windows. I had (1) unchecked and (2) checked. > > With (1) checked and (2) unchecked the problem with the growing window > is gone. Nice deduction! > > Ben > > I tried those focus settings on linux and it still works correctly. one can see the extra bit of window flash in and out and finally remaining off until there is some mouse action. It seems the event that would reduce the extra area is either not firing or getting purged without having effect. This is probably going to need someone on a Mac to do some debugging. |