Package stack

import "github.com/BurntSushi/wingo/stack"
Overview
Index

Overview ▾

Constants

const (
    LayerDesktop = iota
    LayerBelow
    LayerDefault
    LayerAbove
    LayerDock
    LayerFullscreen
)

Variables

var (
    X       *xgbutil.XUtil
    Clients []Client
)

func Initialize

func Initialize(xu *xgbutil.XUtil)

func Raise

func Raise(client Client)

func Remove

func Remove(client Client)

type Client

type Client interface {
    Id() xproto.Window
    Win() *xwindow.Window
    TopWin() *xwindow.Window
    Layer() int
    Transient(client Client) bool
}