aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xgb_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/xgb_test.go')
-rw-r--r--nexgb/xgb_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/nexgb/xgb_test.go b/nexgb/xgb_test.go
index 7eea19b..d0e840a 100644
--- a/nexgb/xgb_test.go
+++ b/nexgb/xgb_test.go
@@ -127,7 +127,7 @@ func TestWindowEvents(t *testing.T) {
// The geometry to set the window.
gx, gy, gw, gh := 200, 400, 1000, 300
- wid, err := X.NewId()
+ wid, err := X.NewWindowId()
if err != nil {
t.Fatalf("NewId: %s", err)
}