mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
e834a78ab2f565afb2d1759a771386b9b3e887e0
On Xephyr, when fitst entering x11Window.loop(), syscall.Ppoll would block forever while XPending() would still return a non zero value. This commit refactors the loop so that XPending() gets called first, then fallback to waiting in ppoll if there are no pending draw events. This has the added benefit of reducing the number of calls to ppoll when receiving a lot of events. Signed-off-by: Denis Bernard <db047h@gmail.com>
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%