Skip to content

Commit

Permalink
Merge pull request #6 from thiagokokada/add-missing-fields-window
Browse files Browse the repository at this point in the history
Add missing fields for Window struct
  • Loading branch information
labi-le authored Jul 21, 2024
2 parents 5a8346e + 2861b9e commit d6f7e8a
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions ipc_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,27 @@ type Client struct {
}

type Window struct {
Address string `json:"address"`
At []int `json:"at"`
Size []int `json:"size"`
Workspace WorkspaceType `json:"workspace"`
Floating bool `json:"floating"`
Monitor int `json:"monitor"`
Class string `json:"class"`
Title string `json:"title"`
Pid int `json:"pid"`
Xwayland bool `json:"xwayland"`
Address string `json:"address"`
Mapped bool `json:"mapped"`
Hidden bool `json:"hidden"`
Pinned bool `json:"pinned"`
FullscreenMode int `json:"fullscreenMode"`
FakeFullscreen bool `json:"fakeFullscreen"`
At []int `json:"at"`
Size []int `json:"size"`
Workspace WorkspaceType `json:"workspace"`
Floating bool `json:"floating"`
Monitor int `json:"monitor"`
Class string `json:"class"`
InitialClass string `json:"initialClass"`
Title string `json:"title"`
InitialTitle string `json:"initialTitle"`
Pid int `json:"pid"`
Xwayland bool `json:"xwayland"`
Grouped []string `json:"grouped"`
Tags []string `json:"tags"`
Swallowing string `json:"swallowing"`
FocusHistoryId int `json:"focusHistoryID"`
}

type Layers map[string]Layer
Expand Down

0 comments on commit d6f7e8a

Please sign in to comment.