pointerFocus

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the pointerFocus to {true | false}
Summary

Specifies whether typed text is sent to the window under the mouse pointer or to the frontmost window.

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Example
set the pointerFocus to true
Values
NameTypeDescription
Value

The pointerFocus is true or false. By default, the pointerFocus property is set to true on Mac OS, OS X, and Windows systems, and to false on Unixsystems that ship with Motif.

RelatedProperty: raiseMenus
Glossary: property, OS X, explicit focus, active window, Windows, Motif, Mac OS, Unix, mouse pointer
Description

Use the pointerFocus property to determine how the active window is determined.

On Unix systems, if the pointerFocus property is false, clicking inside a window makes it the active window. This is the recommended setup.

If the pointerFocus property is true, moving the mouse pointer into a window makes it the active window. Set the pointerFocus to true to work around problems in some Unix window managers (specifically, "olwm" and "fvwm" ) that prevent active-focus applications such as LiveCode from operating correctly.

If the application is started from a Unix command line, this property can be set to true on startup by using the -pointerfocus option.

*Cross-platform note:* On Mac OS, OS X, and Windows systems, setting the pointerFocus property to false changes window activation in minor ways which are not particularly useful, and has no other effect.

Tagsui