Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## map-control-left-click-to-right-click

Arguments: cg-configuration

When this configuration option is true, any control-left-click will be handled as a right-click with no shift keys down. That is, a control-left-click will cause mouse-right-down to be called with a buttons argument that does not include any bits for shift keys.

This option is true by default only on Mac OS X, where traditionally there is only a single mouse button and applications conventionally handle a control-click as they would a right-click on other platforms. A Common Graphics application on the Mac could alternately set this option to `nil` and handle control-clicks itself directly in mouse-left-down methods. With the default setting, existing mouse-right-down methods will work automatically on a Mac with the control-click gesture.

This option does not appear on the IDE's Options dialog, but could be modified interactively with Tools | Inspect System Data | CG Configuration Options. It can be set programmatically with a form such as this one:

    (setf (map-control-left-click-to-right-click (configuration *system*))
          nil)

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version