Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version