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