ui-cam-focus - Manual do Geomview
Description: Manual do Geomview

Next: ui-center, 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 janelas de câmera. The default is `mouse-cross`: a câmera is made the active câmera (for interactive mouse events) when the mouse cursor crosses the window. Because this means it can become complicated to activate a specific câmera (in the context of multiple janelas de câmera) there is also the option to only change the câmera 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 câmera becomes the active câmera 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
                )