Versions in this module Expand all Collapse all v0 v0.3.1 Feb 22, 2020 Changes in this version + type Client struct + func New(x11 x11, cfg *Config, window xproto.Window, typ Type) (*Client, error) + func (c *Client) Draw() error + func (c *Client) Geom() Geom + func (c *Client) Map() error + func (c *Client) Mapped() bool + func (c *Client) OnDestroy() error + func (c *Client) OnProperty(atom xproto.Atom) + func (c *Client) OnUnmap() error + func (c *Client) Parent() xproto.Window + func (c *Client) SetGeom(geom Geom) + func (c *Client) Type() Type + func (c *Client) Unmap() error + func (c *Client) Update() error + func (c *Client) Window() xproto.Window + type Config struct + BgColor uint32 + BorderWidth uint8 + FontColor uint32 + FontSize float64 + TitlebarHeight uint8 + type Geom struct + H uint16 + W uint16 + X int16 + Y int16 + type Type uint8 + const TypeDock + const TypeNormal + const TypeUnknown