Skip to content

Commit

Permalink
examples/hyprtabs: validate output, remove workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Jul 25, 2024
1 parent a59eb5a commit 634aa89
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions examples/hyprtabs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ func must(err error) {

func main() {
client := hyprland.MustClient()
client.Validate = false

aWindow := must1(client.ActiveWindow())
if len(aWindow.Grouped) > 0 {
Expand Down Expand Up @@ -71,9 +70,6 @@ func main() {
}
// Focus in the active window at the end
cmdbuf = append(cmdbuf, fmt.Sprintf("focuswindow address:%s", aWindow.Address))
// Workaround window sometimes being stretch
cmdbuf = append(cmdbuf, "fullscreen")
cmdbuf = append(cmdbuf, "fullscreen")

// Dispatch buffered commands in one call for performance,
// hyprland-go will take care of splitting it in smaller calls
Expand Down

0 comments on commit 634aa89

Please sign in to comment.