forked from joejulian/gio
d31a129bf971a4e5101bc0dad70147b43e8a955d
First, pick a random display number between 1 and 100,000. The pool is large enough that we don't need to think about collisions for now. Second, wait for the X server to expose its socket for up to 1s, instead of doing a single static sleep of 200ms. The average time we actually need to sleep on my laptop is around 5ms, so this gives a noticeable speed-up. Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Gio
Immediate mode GUI programs in Go. See gioui.org for details and documentation.
Issues
File bugs and TODOs through the issue tracker or send an email to ~eliasnaur/gio@todo.sr.ht. For general discussion, use the mailing list: ~eliasnaur/gio@lists.sr.ht.
Contributing
Post discussion and patches to the mailing list. No Sourcehut account is required and you can post without being subscribed.
See the contribution guide for more details.
License
Description
Languages
Go
89.6%
C
7%
Java
1.7%
Objective-C
1.6%