X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



3523 Rate this article:
4.0

Mouse events on Mac OS X 10.4 Tiger

In Mac OS X 10.4, Apple changed some default behaviors in X11 that impact IDL functionality.  When processing mouse events with this new behavior, a !MOUSE structure is returned that contains incorrect information. In some instances, focus can remain stuck on a window, despite subsequent window commands.

For example, if you type these consecutive commands at the IDL command line:

    PLOT, FINDGEN(99)
    ZOOM

The plot window does not get focus after the ZOOM command. The command locks up IDL because any attempt to click on the plot window, in order to tell ZOOM where to zoom, is thwarted because the window manager is swallowing the focus click.

Workaround: The solution is to change the X11 start-up parameters as follows:


  • Open an xterm by launching the X11.app file located in /Applications/Utilities
  • Type the following command at the prompt:

      defaults write com.apple.x11 wm_click_through -bool true

Typing this command at the X11 prompt will change the default for all subsequent X11 sessions. You must restart X11 for this to take effect.

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »