Undid the previous change to the keyboard test so that it responds to window closes again.

This commit is contained in:
Pietro Gagliardi 2014-04-07 18:36:52 -04:00
parent 3bf215ae4e
commit 8220df86bf
1 changed files with 1 additions and 1 deletions

View File

@ -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 (