Documentation ¶
Index ¶
- Constants
- Variables
- func Focus(monitors *branch.Branch, mon Monitor)
- func FocusSelect(sel []selector.Selector, monitors *branch.Branch)
- func Initialize(monitors *branch.Branch, x handler.Handler, s settings.Settings)
- func New(x handler.Handler, s settings.Settings) *branch.Branch
- func Update(monitors *branch.Branch, x handler.Handler, s settings.Settings) error
- func Xrror(err string) *monitorsError
- type MatchMonitor
- type Monitor
- func All(monitors *branch.Branch) []Monitor
- func Cycled(monitors *branch.Branch, sel selector.Selector) Monitor
- func Focused(monitors *branch.Branch) Monitor
- func FromClient(monitors *branch.Branch, c clients.Client) Monitor
- func NewMonitor(id uint32, n string, c *xgb.Conn, root xproto.Window, r xproto.Rectangle, ...) Monitor
- func Next(monitors *branch.Branch) Monitor
- func Prev(monitors *branch.Branch) Monitor
- func Primary(monitors *branch.Branch) Monitor
- func Select(sel []selector.Selector, ms ...*branch.Branch) Monitor
- func Tagged(monitors *branch.Branch, sel selector.Selector) Monitor
- type UpdateMonitor
Constants ¶
View Source
const MAXINT = int(^uint(0) >> 1)
Variables ¶
View Source
var UpdateError = Xrror("Monitors update error: %s").Out
Functions ¶
Types ¶
type MatchMonitor ¶
type Monitor ¶
type Monitor interface { settings.Settings Id() uint32 Name() string Rectangle() xproto.Rectangle SetRectangle(xproto.Rectangle) UpdateRoot() Wired() bool Primary() bool Focus() Focused() bool Set(string, bool) Contains(xproto.Point) bool Desktops() *branch.Branch Merge(Monitor) Delete() }
func NewMonitor ¶
type UpdateMonitor ¶
Click to show internal directories.
Click to hide internal directories.