Reviewers: nigeltao,
Message:
Hello
nige...@golang.org (cc:
ta...@googlegroups.com),
I'd like you to review this change to
https://code.google.com/p/taowm/
Description:
taowm: fix crasher when unmanaging a full-screen window on an
off-screen workspace.
Please review this at
https://codereview.appspot.com/154360043/
Affected files (+3, -1 lines):
M taowm/actions.go
Index: taowm/actions.go
===================================================================
--- a/taowm/actions.go
+++ b/taowm/actions.go
@@ -404,7 +404,9 @@
k.focusFrame(k.frameContaining(p.RootX, p.RootY))
}
k.configure()
- k.screen.repaint()
+ if k.screen != nil {
+ k.screen.repaint()
+ }
return true
}