DRM pointer appearance. Set this record as Emerge.Config.Input.cursor.
Desktop window cursors remain controlled by their window backend.
%Emerge.Config{
input: %Emerge.Config.Input{
cursor: %Emerge.Config.Cursor{hardware: false}
}
}Fields
hardware— prefer a DRM hardware cursor; defaults totrue. It is a preference, not a requirement. CPU raster always draws its cursor in software.default— optionalEmerge.Config.CursorIconfor the ordinary arrow.text— optionalEmerge.Config.CursorIconfor the text-selection cursor.pointer— optionalEmerge.Config.CursorIconfor clickable content.
All icon fields default to nil, keeping the built-in icon. Overrides apply to
DRM; they do not replace desktop system cursors. All fields require a new
viewport to change.
Summary
Types
Canonical form after nested keyword records have been expanded.
Typed keyword shorthand accepted in this record's parent field.
Types
@type normalized_t() :: %Emerge.Config.Cursor{ default: Emerge.Config.CursorIcon.normalized_t() | nil, hardware: boolean(), pointer: Emerge.Config.CursorIcon.normalized_t() | nil, text: Emerge.Config.CursorIcon.normalized_t() | nil }
Canonical form after nested keyword records have been expanded.
@type options() :: [ hardware: boolean(), default: Emerge.Config.CursorIcon.t() | Emerge.Config.CursorIcon.options() | nil, text: Emerge.Config.CursorIcon.t() | Emerge.Config.CursorIcon.options() | nil, pointer: Emerge.Config.CursorIcon.t() | Emerge.Config.CursorIcon.options() | nil ]
Typed keyword shorthand accepted in this record's parent field.
@type t() :: %Emerge.Config.Cursor{ default: Emerge.Config.CursorIcon.t() | Emerge.Config.CursorIcon.options() | nil, hardware: boolean(), pointer: Emerge.Config.CursorIcon.t() | Emerge.Config.CursorIcon.options() | nil, text: Emerge.Config.CursorIcon.t() | Emerge.Config.CursorIcon.options() | nil }