aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xgb.go
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2013-01-26 12:51:21 -0500
committerPřemysl Janouch <p@janouch.name>2018-09-08 16:49:16 +0200
commite635de5e1d64d5d642c05ad24ebb207846022272 (patch)
tree6e9498748589b774ecae0d1e0da5ce97cc5f26d7 /nexgb/xgb.go
parent269a7b9cc68b16d3618c1302f829048ee501dfab (diff)
downloadhaven-e635de5e1d64d5d642c05ad24ebb207846022272.tar.gz
haven-e635de5e1d64d5d642c05ad24ebb207846022272.tar.xz
haven-e635de5e1d64d5d642c05ad24ebb207846022272.zip
Provide access to the X display number in the XGB Conn.
Diffstat (limited to 'nexgb/xgb.go')
-rw-r--r--nexgb/xgb.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/nexgb/xgb.go b/nexgb/xgb.go
index 1c6ef93..b123ba1 100644
--- a/nexgb/xgb.go
+++ b/nexgb/xgb.go
@@ -49,6 +49,7 @@ type Conn struct {
host string
conn net.Conn
display string
+ DisplayNumber int
DefaultScreen int
SetupBytes []byte