clients

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(clientToAdd *Client)

func Remove

func Remove(clientToRemove *Client)

Types

type Client

type Client struct {
	Window   xproto.Window
	Position position
	Size     size
	// contains filtered or unexported fields
}

func FindByTag

func FindByTag(tag int) *Client

func FindByWindow

func FindByWindow(window xproto.Window) *Client

func FindMany

func FindMany(predicate func(*Client) bool) []*Client

func NewClient

func NewClient(window xproto.Window, posX, posY, width, height uint32) *Client

func (*Client) Focus

func (c *Client) Focus(conn *xgb.Conn) (err error)

func (*Client) Kill

func (c *Client) Kill(conn *xgb.Conn, atomWMProtocols, atomWMDeleteWindow xproto.Atom) (err error)

func (*Client) PutBelow

func (c *Client) PutBelow(window xproto.Window, conn *xgb.Conn) (err error)

func (*Client) Reconfigure

func (c *Client) Reconfigure(conn *xgb.Conn) (err error)

Jump to

Keyboard shortcuts

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