extsessionlock

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT, MIT Imports: 2 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

Index

Constants

This section is empty.

Variables

View Source
var ExtSessionLockManagerV1Interface = &wire.Interface{
	Name:    "ext_session_lock_manager_v1",
	Version: 1,
	Requests: []wire.MessageSpec{
		{Name: "destroy", Since: 1, Destructor: true},
		{Name: "lock", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "ext_session_lock_v1"}}},
	},
}
View Source
var ExtSessionLockSurfaceV1Interface = &wire.Interface{
	Name:    "ext_session_lock_surface_v1",
	Version: 1,
	Requests: []wire.MessageSpec{
		{Name: "destroy", Since: 1, Destructor: true},
		{Name: "ack_configure", Since: 1, Args: []wire.Arg{{Name: "serial", Type: wire.ArgUint}}},
	},
	Events: []wire.MessageSpec{
		{Name: "configure", Since: 1, Args: []wire.Arg{{Name: "serial", Type: wire.ArgUint}, {Name: "width", Type: wire.ArgUint}, {Name: "height", Type: wire.ArgUint}}},
	},
}
View Source
var ExtSessionLockV1Interface = &wire.Interface{
	Name:    "ext_session_lock_v1",
	Version: 1,
	Requests: []wire.MessageSpec{
		{Name: "destroy", Since: 1, Destructor: true},
		{Name: "get_lock_surface", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "ext_session_lock_surface_v1"}, {Name: "surface", Type: wire.ArgObject, Interface: "wl_surface"}, {Name: "output", Type: wire.ArgObject, Interface: "wl_output"}}},
		{Name: "unlock_and_destroy", Since: 1, Destructor: true},
	},
	Events: []wire.MessageSpec{
		{Name: "locked", Since: 1},
		{Name: "finished", Since: 1},
	},
}

Functions

This section is empty.

Types

type ExtSessionLockManagerV1

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

func CreateExtSessionLockManagerV1

func CreateExtSessionLockManagerV1(p wire.Peer, id wire.ObjectID, version uint32) (*ExtSessionLockManagerV1, error)

func NewExtSessionLockManagerV1

func NewExtSessionLockManagerV1(p wire.Peer, version uint32) (*ExtSessionLockManagerV1, error)

func (*ExtSessionLockManagerV1) Base

func (obj *ExtSessionLockManagerV1) Base() *wire.Object

func (*ExtSessionLockManagerV1) Destroy

func (obj *ExtSessionLockManagerV1) Destroy() error

func (*ExtSessionLockManagerV1) Dispatch

func (obj *ExtSessionLockManagerV1) Dispatch(msg *wire.Message) error

func (*ExtSessionLockManagerV1) Lock

type ExtSessionLockSurfaceV1

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

func (*ExtSessionLockSurfaceV1) AckConfigure

func (obj *ExtSessionLockSurfaceV1) AckConfigure(serial uint32) error

func (*ExtSessionLockSurfaceV1) Base

func (obj *ExtSessionLockSurfaceV1) Base() *wire.Object

func (*ExtSessionLockSurfaceV1) Destroy

func (obj *ExtSessionLockSurfaceV1) Destroy() error

func (*ExtSessionLockSurfaceV1) Dispatch

func (obj *ExtSessionLockSurfaceV1) Dispatch(msg *wire.Message) error

func (*ExtSessionLockSurfaceV1) Handler

type ExtSessionLockSurfaceV1Error

type ExtSessionLockSurfaceV1Error uint32
const (
	ExtSessionLockSurfaceV1ErrorCommitBeforeFirstAck ExtSessionLockSurfaceV1Error = 0
	ExtSessionLockSurfaceV1ErrorNullBuffer           ExtSessionLockSurfaceV1Error = 1
	ExtSessionLockSurfaceV1ErrorDimensionsMismatch   ExtSessionLockSurfaceV1Error = 2
	ExtSessionLockSurfaceV1ErrorInvalidSerial        ExtSessionLockSurfaceV1Error = 3
)

func (ExtSessionLockSurfaceV1Error) Valid

func (v ExtSessionLockSurfaceV1Error) Valid(version uint32) bool

type ExtSessionLockSurfaceV1Handler

type ExtSessionLockSurfaceV1Handler interface {
	Configure(obj *ExtSessionLockSurfaceV1, serial uint32, width uint32, height uint32) error
}

type ExtSessionLockV1

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

func CreateExtSessionLockV1

func CreateExtSessionLockV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ExtSessionLockV1) (ExtSessionLockV1Handler, error)) (*ExtSessionLockV1, error)

func NewExtSessionLockV1

func NewExtSessionLockV1(p wire.Peer, version uint32, h ExtSessionLockV1Handler) (*ExtSessionLockV1, error)

func (*ExtSessionLockV1) Base

func (obj *ExtSessionLockV1) Base() *wire.Object

func (*ExtSessionLockV1) Destroy

func (obj *ExtSessionLockV1) Destroy() error

func (*ExtSessionLockV1) Dispatch

func (obj *ExtSessionLockV1) Dispatch(msg *wire.Message) error

func (*ExtSessionLockV1) GetLockSurface

func (*ExtSessionLockV1) Handler

func (*ExtSessionLockV1) UnlockAndDestroy

func (obj *ExtSessionLockV1) UnlockAndDestroy() error

type ExtSessionLockV1Error

type ExtSessionLockV1Error uint32
const (
	ExtSessionLockV1ErrorInvalidDestroy     ExtSessionLockV1Error = 0
	ExtSessionLockV1ErrorInvalidUnlock      ExtSessionLockV1Error = 1
	ExtSessionLockV1ErrorRole               ExtSessionLockV1Error = 2
	ExtSessionLockV1ErrorDuplicateOutput    ExtSessionLockV1Error = 3
	ExtSessionLockV1ErrorAlreadyConstructed ExtSessionLockV1Error = 4
)

func (ExtSessionLockV1Error) Valid

func (v ExtSessionLockV1Error) Valid(version uint32) bool

type ExtSessionLockV1Handler

type ExtSessionLockV1Handler interface {
	Locked(obj *ExtSessionLockV1) error
	Finished(obj *ExtSessionLockV1) error
}

Jump to

Keyboard shortcuts

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