aboutsummaryrefslogtreecommitdiff
path: root/src/libdraw/event.c
AgeCommit message (Collapse)AuthorFilesLines
2020-05-18devdraw, libdraw: handle keyboard runes > U+FFFFRuss Cox1-1/+1
Runes in Plan 9 were limited to the 16-bit BMP when I drew up the RPC protocol between graphical programs and devdraw a long time ago. Now that they can be 32-bit, use a 32-bit wire encoding too. A new message number to avoid problems with other clients (like 9fans.net/go). Add keyboard shortcut alt : , for U+1F602, face with tears of joy, to test that it all works.
2020-01-10Trivial changes: whitespace and modes.Dan Cross1-8/+7
Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
2018-11-15libdraw: add Cursor2, a 32x32 high-res cursorRuss Cox1-1/+7
Also add setcursor2, esetcursor2, and draw protocol encoding. Calls to the old setcursor, esetcursor create a 32x32 by pixel doubling when needed.
2012-09-17libdraw: add visibleclicks modeRuss Cox1-0/+2
R=rsc http://codereview.appspot.com/6501137
2008-01-10libdraw: fix spinning event loop (David Bulkow)Russ Cox1-6/+6
2006-11-05block instead of chewing cpu in eread (Lu Xuxiao)rsc1-1/+1
2006-11-04In non-blocking recv functions in libmux and libdraw,rsc1-1/+11
distinguish between "cannot receive without blocking" and "EOF on connection". In libmux, do not elect async guys muxers, so that synchronous RPC calls run in the main event loop (e.g., in eresized) do not get stuck. Fixes problem reported by Lu Xuxiao, namely that jpg etc. would spin at 100% cpu usage.
2006-06-25eventrsc1-265/+217
2006-06-25byersc1-17/+1
2003-09-30Initial revisionrsc1-0/+486