diff options
Diffstat (limited to 'nexgb/dpms')
| -rw-r--r-- | nexgb/dpms/dpms.go | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/nexgb/dpms/dpms.go b/nexgb/dpms/dpms.go index 64aa176..3c4b7ce 100644 --- a/nexgb/dpms/dpms.go +++ b/nexgb/dpms/dpms.go @@ -9,6 +9,11 @@ import (  	"janouch.name/haven/nexgb/xproto"  ) +const ( +	MajorVersion = 0 +	MinorVersion = 0 +) +  // Init must be called before using the DPMS extension.  func Init(c *xgb.Conn) error {  	reply, err := xproto.QueryExtension(c, 4, "DPMS").Reply() | 
