Undid the previous change to the keyboard test so that it responds to window closes again.
This commit is contained in:
parent
3bf215ae4e
commit
8220df86bf
|
@ -80,7 +80,7 @@ func kbTest() {
|
||||||
w := NewWindow("Hi", wid, ht)
|
w := NewWindow("Hi", wid, ht)
|
||||||
err := w.Open(a)
|
err := w.Open(a)
|
||||||
if err != nil { panic(err) }
|
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 (
|
var (
|
||||||
|
|
Loading…
Reference in New Issue