test

package
v0.0.0-...-7ad2634 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CursorNone    = 0
	CursorCurrent = 1
)

enum Cursor

View Source
const CompareCursorOpcode = 1
View Source
const FakeInputOpcode = 2
View Source
const GetVersionOpcode = 0
View Source
const GrabControlOpcode = 3
View Source
const MajorVersion = 2

_ns.ext_name: Test

View Source
const MinorVersion = 2

Variables

This section is empty.

Functions

func Ext

func Ext() *x.Extension

func FakeInput

func FakeInput(conn *x.Conn, evType uint8, detail uint8, time x.Timestamp, root x.Window, rootX, rootY int16, deviceId uint8)

func FakeInputChecked

func FakeInputChecked(conn *x.Conn, evType uint8, detail uint8, time x.Timestamp, root x.Window, rootX, rootY int16, deviceId uint8) x.VoidCookie

func GrabControl

func GrabControl(conn *x.Conn, impervious bool)

func GrabControlChecked

func GrabControlChecked(conn *x.Conn, impervious bool) x.VoidCookie

Types

type CompareCursorCookie

type CompareCursorCookie x.SeqNum

func CompareCursor

func CompareCursor(conn *x.Conn, window x.Window, cursor x.Cursor) CompareCursorCookie

func (CompareCursorCookie) Reply

func (cookie CompareCursorCookie) Reply(conn *x.Conn) (*CompareCursorReply, error)

type CompareCursorReply

type CompareCursorReply struct {
	Same bool
}

type GetVersionCookie

type GetVersionCookie x.SeqNum

func GetVersion

func GetVersion(conn *x.Conn, majorVersion uint8, minorVersion uint16) GetVersionCookie

func (GetVersionCookie) Reply

func (cookie GetVersionCookie) Reply(conn *x.Conn) (*GetVersionReply, error)

type GetVersionReply

type GetVersionReply struct {
	MajorVersion uint8
	MinorVersion uint16
}

Jump to

Keyboard shortcuts

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