Documentation ¶
Overview ¶
Package windowstack retrieves information about the windowstack using Lomiri's dbus interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BusAddress bus.Address = bus.Address{
Interface: "com.lomiri.WindowStack",
Path: "/com/lomiri/WindowStack",
Name: "com.lomiri.WindowStack",
}
Well known address for the WindowStack API
Functions ¶
This section is empty.
Types ¶
type WindowStack ¶
type WindowStack struct {
// contains filtered or unexported fields
}
WindowStack encapsulates info needed to call out to the WindowStack API
func New ¶
func New(endp bus.Endpoint, log logger.Logger) *WindowStack
New returns a new WindowStack that'll use the provided bus.Endpoint
func (*WindowStack) GetWindowStack ¶
func (stack *WindowStack) GetWindowStack() []WindowsInfo
GetWindowStack returns the window stack state
func (*WindowStack) IsAppFocused ¶
func (stack *WindowStack) IsAppFocused(AppId *click.AppId) bool
Click to show internal directories.
Click to hide internal directories.