From 634aa89c556c5aa2db1cdcbeae80f9283b6730c1 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Thu, 25 Jul 2024 10:59:17 +0100 Subject: [PATCH] examples/hyprtabs: validate output, remove workaround --- examples/hyprtabs/main.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/hyprtabs/main.go b/examples/hyprtabs/main.go index 7a85e5d..cfa69ec 100644 --- a/examples/hyprtabs/main.go +++ b/examples/hyprtabs/main.go @@ -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 { @@ -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