nested

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2026 License: MIT, MIT Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package nested runs lys-wm as a client of a host Wayland compositor: each output is a host window and the host seat is lys-wm's input.

Index

Constants

This section is empty.

Variables

View Source
var ErrClosed = errors.New("nested: the last host window was closed")

Functions

This section is empty.

Types

type Backend

type Backend struct {
	// contains filtered or unexported fields
}

func New

func New(l *loop.Loop, socket string, opts Options) (_ *Backend, err error)

func (*Backend) AddOutput

func (b *Backend) AddOutput() (*Output, error)

func (*Backend) Close

func (b *Backend) Close() error

func (*Backend) Outputs

func (b *Backend) Outputs() []*Output

func (*Backend) Renderer

func (b *Backend) Renderer() render.Renderer

func (*Backend) Start

func (b *Backend) Start(h backend.Handler) error

type Keyboard

type Keyboard struct {
	// contains filtered or unexported fields
}

func (*Keyboard) Capabilities

func (d *Keyboard) Capabilities() backend.Capability

func (*Keyboard) Keymap

func (k *Keyboard) Keymap() []byte

func (*Keyboard) Name

func (d *Keyboard) Name() string

type Options

type Options struct {
	Renderer Renderer
	GPU      gpu.Paths
}

type Output

type Output struct {
	// contains filtered or unexported fields
}

func (*Output) AbortFrame

func (o *Output) AbortFrame()

func (*Output) BeginFrame

func (o *Output) BeginFrame() (backend.Frame, error)

func (*Output) Commit

func (o *Output) Commit(s backend.OutputState) error

func (*Output) CursorPlane

func (o *Output) CursorPlane() (backend.CursorPlane, error)

func (*Output) Description

func (o *Output) Description() string

func (*Output) Identity

func (*Output) Identity() edid.Info

func (*Output) Modes

func (o *Output) Modes() []backend.Mode

func (*Output) Name

func (o *Output) Name() string

func (*Output) PhysicalSize

func (o *Output) PhysicalSize() image.Point

func (*Output) Present

func (o *Output) Present(damage render.Region) error

func (*Output) ScheduleFrame

func (o *Output) ScheduleFrame() error

func (*Output) State

func (o *Output) State() backend.OutputState

type Pointer

type Pointer struct {
	// contains filtered or unexported fields
}

func (*Pointer) Capabilities

func (d *Pointer) Capabilities() backend.Capability

func (*Pointer) Name

func (d *Pointer) Name() string

type Renderer

type Renderer uint8
const (
	Soft Renderer = iota + 1
	GLES
	Vulkan
)

type Touch

type Touch struct {
	// contains filtered or unexported fields
}

func (*Touch) Capabilities

func (d *Touch) Capabilities() backend.Capability

func (*Touch) Name

func (d *Touch) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL