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