Enum MirFocusMode

Enum Documentation

enum MirFocusMode

Focus mode controls how a surface gains and loses focus.


enumerator mir_focus_mode_focusable

The surface can gain and lose focus normally.

enumerator mir_focus_mode_disabled

The surface will never be given focus.

enumerator mir_focus_mode_grabbing

This mode causes the surface to take focus if possible, and prevents focus from leaving it as long as it has this mode.