added some docs and removed some extraneous code

This commit is contained in:
Andrew Gallant (Ocelot) 2012-05-12 21:44:53 -04:00
parent 24fef4062a
commit 7abc9c6455
1 changed files with 5 additions and 3 deletions

View File

@ -12,7 +12,11 @@ package xproto
There are also a couple of benchmarks that show the difference between There are also a couple of benchmarks that show the difference between
correctly issuing lots of requests and gathering replies and correctly issuing lots of requests and gathering replies and
incorrectly doing the same. (This particular difference is one of the incorrectly doing the same. (This particular difference is one of the
claimed advantages of the XCB, and therefore XGB, family. claimed advantages of the XCB, and therefore XGB, family.)
In sum, these tests are more focused on testing the core xgb package itself,
rather than whether xproto has properly implemented the core X client
protocol.
*/ */
import ( import (
@ -164,8 +168,6 @@ func TestWindowEvents(t *testing.T) {
t.Fatalf("ConfigureWindow: %s", err) t.Fatalf("ConfigureWindow: %s", err)
} }
TestProperty(t)
evOrErr := waitForEvent(t, 5) evOrErr := waitForEvent(t, 5)
switch event := evOrErr.ev.(type) { switch event := evOrErr.ev.(type) {
case ConfigureNotifyEvent: case ConfigureNotifyEvent: