code review 7060061: taowm: fix crash when activating an off-screen workspace. (issue 7060061)

1 view
Skip to first unread message

nige...@golang.org

unread,
Jan 9, 2013, 5:58:22 AM1/9/13
to nige...@golang.org, ta...@googlegroups.com, re...@codereview-hr.appspotmail.com
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 crash when activating an off-screen workspace.

Please review this at https://codereview.appspot.com/7060061/

Affected files:
M taowm/input.go


Index: taowm/input.go
===================================================================
--- a/taowm/input.go
+++ b/taowm/input.go
@@ -106,7 +106,9 @@
k0.layout()
k1.layout()
s0.repaint()
- s1.repaint()
+ if s1 != nil {
+ s1.repaint()
+ }
}

func handleEnterNotify(e xp.EnterNotifyEvent) {


nige...@golang.org

unread,
Jan 9, 2013, 6:00:28 AM1/9/13
to nige...@golang.org, ta...@googlegroups.com, re...@codereview-hr.appspotmail.com
*** Submitted as
https://code.google.com/p/taowm/source/detail?r=d9a32d3fca3c ***

taowm: fix crash when activating an off-screen workspace.

R=nigeltao
CC=taowm
https://codereview.appspot.com/7060061


https://codereview.appspot.com/7060061/
Reply all
Reply to author
Forward
0 new messages