summaryrefslogtreecommitdiff
path: root/examples/seq-wrap.go
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <[email protected]>2012-05-07 04:09:19 -0400
committerAndrew Gallant (Ocelot) <[email protected]>2012-05-07 04:09:19 -0400
commit8bcecd8ab592e67ade9cd728503581d5a84ca583 (patch)
tree4d550a9ca8b2b19af6d66b99233e0ecde4543df9 /examples/seq-wrap.go
parentbe6362d05c9563b8085eba2b990a145101e9c99f (diff)
lots of docs and examples
Diffstat (limited to 'examples/seq-wrap.go')
-rw-r--r--examples/seq-wrap.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/examples/seq-wrap.go b/examples/seq-wrap.go
deleted file mode 100644
index b5bc834..0000000
--- a/examples/seq-wrap.go
+++ /dev/null
@@ -1,24 +0,0 @@
-package main
-
-import (
- "fmt"
-
- "github.com/BurntSushi/xgb"
-)
-
-func main() {
- X, _ := xgb.NewConn()
-
- aname := "_NET_ACTIVE_WINDOW"
-
- for i := 1; i <= 1<<16 + 10; i++ {
- atom, err := X.InternAtom(true, uint16(len(aname)), aname).Reply()
- if err != nil {
- fmt.Println(err)
- } else {
- fmt.Printf("%d. Sequence: %d, Atom: %d\n",
- i, atom.Sequence, atom.Atom)
- }
- }
-}
-