windowmanager

package
v0.0.0-...-1378ae3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	X                  *xgbutil.XUtil
	Root               *xwindow.Window
	RootGeometry       xrect.Rect
	RootGeometryStruts xrect.Rect
)

Functions

func AddWindowToGroup

func AddWindowToGroup(id int, group int) error

func BeginMouseMoveFromPointer

func BeginMouseMoveFromPointer() error

func BeginMouseResizeFromPointer

func BeginMouseResizeFromPointer() error

func CycleWin

func CycleWin()

func CycleWinEnd

func CycleWinEnd()

func CycleWinRev

func CycleWinRev()

func GetWindowById

func GetWindowById(id int) (*window.Window, error)

func GetWindowGeometry

func GetWindowGeometry(id int) (xrect.Rect, error)

func GetWindowGroups

func GetWindowGroups(id int) ([]uint, error)

func GetWindowScreenGeometry

func GetWindowScreenGeometry(id int) (xrect.Rect, error)

func GetWindowScreenGeometryStruts

func GetWindowScreenGeometryStruts(id int) (xrect.Rect, error)

func HideGroup

func HideGroup(group int)

func Initialize

func Initialize(x *xgbutil.XUtil, replace bool) error

Take wm ownership and initialize variables

func ManageExistingClients

func ManageExistingClients() error

func MoveResizeWindow

func MoveResizeWindow(id int, x, y, width, height int) error

func MoveWindow

func MoveWindow(id int, x, y int) error

func RemoveWindowFromGroup

func RemoveWindowFromGroup(id int, group int) error

func Run

func Run()

func SetGroupForWindow

func SetGroupForWindow(id int, group int) error

func SetMoveDragShortcut

func SetMoveDragShortcut(s string) error

func SetResizeDragShortcut

func SetResizeDragShortcut(s string) error

func SetupRoot

func SetupRoot() error

Setup event listeners

func ShowGroup

func ShowGroup(group int)

func ShowGroupInfo

func ShowGroupInfo(win *window.Window)

func ShowGroupOnly

func ShowGroupOnly(group int)

func Shutdown

func Shutdown()

func ToggleGroupVisibility

func ToggleGroupVisibility(group int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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