mirror of
https://github.com/joshuarubin/go-sway
synced 2024-11-26 08:43:49 +01:00
Adds Focus property to the Workspace type
This commit is contained in:
parent
4188ad5732
commit
d704f11d33
3
types.go
3
types.go
@ -310,6 +310,9 @@ type Workspace struct {
|
|||||||
// Whether the workspace is currently focused by the default seat (seat0)
|
// Whether the workspace is currently focused by the default seat (seat0)
|
||||||
Focused bool `json:"focused,omitempty"`
|
Focused bool `json:"focused,omitempty"`
|
||||||
|
|
||||||
|
// Array of child node IDs in the current focus order
|
||||||
|
Focus []int64 `json:"focus,omitempty"`
|
||||||
|
|
||||||
// Whether a view on the workspace has the urgent flag set
|
// Whether a view on the workspace has the urgent flag set
|
||||||
Urgent bool `json:"urgent,omitempty"`
|
Urgent bool `json:"urgent,omitempty"`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user