pointerFocus

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

# Metadata

Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:

# Syntax

set the pointerFocus to {true | false}

# Examples

set the pointerFocus to true

# 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 explicit 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, setting the pointerFocus property > to false changes window activation in minor ways which are not > particularly useful, and has no other effect.

# Tags

ui,

# See