aboutsummaryrefslogtreecommitdiff
path: root/src/libdraw/drawclient.c
AgeCommit message (Collapse)AuthorFilesLines
2020-07-22devdraw, libdraw: fix memory leaks by freeing getns() malloced string (#431)Igor Böhm1-2/+5
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-13libdraw: connect to devdraw via $wsysid when setRuss Cox1-1/+63
2020-01-10Trivial changes: whitespace and modes.Dan Cross1-17/+16
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>
2019-04-05libdraw,devdraw: fix compatibility with old 16x16 cursor protocol (#217)Fazlul Shahriar1-1/+1
Some libraries that depend on devdraw don't know about 32x32 cursor -- mainly 9fans.net/go/draw.
2018-11-15libdraw: add Cursor2, a 32x32 high-res cursorRuss Cox1-1/+6
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-1/+6
R=rsc http://codereview.appspot.com/6501137
2009-07-14mergeRuss Cox1-2/+6
2009-04-30mergeRuss Cox1-0/+9
2008-07-01libdraw: do not let devdraw fork, for OS XRuss Cox1-1/+5
2008-06-30libdraw: die if display doesRuss Cox1-2/+2
2006-11-04In non-blocking recv functions in libmux and libdraw,rsc1-14/+20
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-07-04move USED past decls (Arvindh Tamilmani)rsc1-2/+2
2006-06-26use pinrsc1-1/+27
2006-06-25eventrsc1-15/+46
2006-06-25newrsc1-0/+336