summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 4a3f043..2bbf558 100644
--- a/main.go
+++ b/main.go
@@ -30,7 +30,7 @@ func main() {
common.Error("Couldn't subscribe to bspwm: %s\n", bspc.InitErr)
return
}
- defer bspc.Close()
+ defer bspc.Cleanup()
bar.Handle.NewState <- bspc.Handle.State
for _, m := range bspc.Handle.State.Monitors {