diff options
| -rw-r--r-- | bar.go | 2 | ||||
| -rw-r--r-- | main.go | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -195,7 +195,7 @@ func Destroy(state *bspc.State, id int) error { func Cleanup(state *bspc.State) { if state != nil { for _, b := range bars { - b.destroy(finalstate) + b.destroy(state) } } } @@ -72,6 +72,7 @@ func main() { if err == nil { switch event.Name { case "monitor_add": + fallthrough case "monitor_geometry": Create(state, id) case "monitor_remove": |