aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xtest/xtest.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/xtest/xtest.go')
-rw-r--r--nexgb/xtest/xtest.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/nexgb/xtest/xtest.go b/nexgb/xtest/xtest.go
index bf961f7..282f004 100644
--- a/nexgb/xtest/xtest.go
+++ b/nexgb/xtest/xtest.go
@@ -9,6 +9,11 @@ import (
"janouch.name/haven/nexgb/xproto"
)
+const (
+ MajorVersion = 2
+ MinorVersion = 2
+)
+
// Init must be called before using the XTEST extension.
func Init(c *xgb.Conn) error {
reply, err := xproto.QueryExtension(c, 5, "XTEST").Reply()