From becaf43dcb3e9832c3eb951ff9908ed697868152 Mon Sep 17 00:00:00 2001 From: aarzilli Date: Tue, 1 Mar 2016 15:41:38 +0100 Subject: Read/Write mutex for Extensions map --- nexgb/xproto/xproto.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'nexgb/xproto/xproto.go') diff --git a/nexgb/xproto/xproto.go b/nexgb/xproto/xproto.go index 728f85f..716c49b 100644 --- a/nexgb/xproto/xproto.go +++ b/nexgb/xproto/xproto.go @@ -4227,6 +4227,10 @@ func NewPixmapId(c *xgb.Conn) (Pixmap, error) { return Pixmap(id), nil } +const ( + PixmapNone = 0 +) + // BadPixmap is the error number for a BadPixmap. const BadPixmap = 4 @@ -4265,10 +4269,6 @@ func init() { xgb.NewErrorFuncs[4] = PixmapErrorNew } -const ( - PixmapNone = 0 -) - const ( PlaceOnTop = 0 PlaceOnBottom = 1 @@ -6379,10 +6379,6 @@ func NewWindowId(c *xgb.Conn) (Window, error) { return Window(id), nil } -const ( - WindowNone = 0 -) - // BadWindow is the error number for a BadWindow. const BadWindow = 3 @@ -6421,6 +6417,10 @@ func init() { xgb.NewErrorFuncs[3] = WindowErrorNew } +const ( + WindowNone = 0 +) + const ( WindowClassCopyFromParent = 0 WindowClassInputOutput = 1 -- cgit v1.2.3