Next: ui-center, Previous: truncate, Up: GCL Reference

#### 7.2.141 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 o cursor do mouse crosses the janela. 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 janela-manager decides to give it the focus for input events. So, after specifying `focus-change` it depends on the focus-change configuration of your janela-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 (Veja Customizacao):

                (progn
                  (ui-cam-focus focus-change)
                  ... # other stuff
                )