Screen focus mode types

Types of focus modes

Synopsis:

#include <screen/screen.h>
enum {
    SCREEN_FOCUS_MODE_AUTOMATIC = 0,
    SCREEN_FOCUS_MODE_MANUAL = 1
};

Data:

SCREEN_FOCUS_MODE_AUTOMATIC
Screen changes the window that's in focus on a display, a pointer or touch event can trigger the change.

The display focus can be changed by setting the SCREEN_PROPERTY_FOCUS on a display object. This is the default mode for displays.

Applicable to the following Screen API object(s):
  • display
SCREEN_FOCUS_MODE_MANUAL
Screen doesn't change the window that's in focus on a display.

The display focus can be controlled by setting the SCREEN_PROPERTY_FOCUS on a display object.

Applicable to the following Screen API object(s):
  • display

Library:

libscreen
Page updated: