summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-07 18:36:52 -0400
committerPietro Gagliardi <[email protected]>2014-04-07 18:36:52 -0400
commit8220df86bf41402668736f8b9ebf707a4f1e4a01 (patch)
treeefde529afa25715c537be7bc88da74234e2918e3
parent3bf215ae4edb616c14c4525638cf54425d6e8f36 (diff)
Undid the previous change to the keyboard test so that it responds to window closes again.
-rw-r--r--test/kbtest.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/kbtest.go b/test/kbtest.go
index 7c96eda..8b36c4e 100644
--- a/test/kbtest.go
+++ b/test/kbtest.go
@@ -80,7 +80,7 @@ func kbTest() {
w := NewWindow("Hi", wid, ht)
err := w.Open(a)
if err != nil { panic(err) }
- select {} // some X11-based systems intercept Alt-F4 and various other keys; this is to find out if we get the key event anyway after ignoring the other requests (it has the effect of requiring us to abort the keyboard test though)
+ <-w.Closing
}
var (