summaryrefslogtreecommitdiff
path: root/xgb.go
diff options
context:
space:
mode:
authorAndrew Gallant <[email protected]>2013-01-26 12:51:21 -0500
committerAndrew Gallant <[email protected]>2013-01-26 12:51:21 -0500
commit0faa267d653d815a370a50be59480a3801bc440f (patch)
treed3c1dfdaddf72cd8e36583df2b38697846b000f6 /xgb.go
parent94ba2d1333e1ab229fe08f58b5b963e05a4af083 (diff)
Provide access to the X display number in the XGB Conn.
Diffstat (limited to 'xgb.go')
-rw-r--r--xgb.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/xgb.go b/xgb.go
index 1c6ef93..b123ba1 100644
--- a/xgb.go
+++ b/xgb.go
@@ -49,6 +49,7 @@ type Conn struct {
host string
conn net.Conn
display string
+ DisplayNumber int
DefaultScreen int
SetupBytes []byte