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