Next: , Previous: transform-set, Up: GCL Reference


7.2.128 ui-cam-focus

(ui-cam-focus [focus-change|mouse-cross])
Set the focus policy for the camera windows. The default is mouse-cross: a camera is made the active camera (for interactive mouse events) when the mouse cursor crosses the window. Because this means it can become complicated to activate a specific camera (in the context of multiple camera windows) there is also the option to only change the camera focus when the window-manager decides to give it the focus for input events. So, after specifying focus-change it depends on the focus-change configuration of your window-manager when a camera becomes the active camera for mouse-interaction. To change this behaviour permanently you could, e.g., place the following line in your ${HOME}/.geomview file (see Customization):
          (progn
            (ui-cam-focus focus-change)
            ... # other stuff
          )