plan9fox/sys/src
cinap_lenrek 1fe3143e4c kernel: cleanup the software mouse cursor mess
The swcursor used a 32x32 image for saving/restoring
screen contents for no reason.

Add a doflush argument to swcursorhide(), so that
disabling software cursor with a double buffered
softscreen is properly hidden. The doflush parameter
should be set to 0 in all other cases as swcursordraw()
will flushes both (current and previours) locations.

Make sure swcursorinit() and swcursorhide() clear the
visibility flag, even when gscreen is nil.

Remove the cursor locking and just do everything within
the drawlock. All cursor functions such as curson(),
cursoff() and setcursor() will be called drawlock
locked. This also means &cursor can be read.

Fix devmouse cursor reads and writes. We now have the
global cursor variable that is only modified under
the drawlock. So copy under drawlock.

Move the pc software cursor implementation into vgasoft
driver, so screen.c does not need to handle it as
a special case.

Remove unused functions such as drawhasclients().
2020-04-10 17:12:51 +02:00
..
9 kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
ape fix alignment in ape malloc 2020-03-09 08:02:22 -07:00
boot 9bootpxe: simplify 2020-04-08 23:48:09 +02:00
cmd file: try ismp4() before ismp3() 2020-04-05 23:26:52 +09:30
games games/playlistfs: open /proc/n/ctl OWRITE, not ORDWR 2020-03-08 13:13:25 +01:00
lib9p lib9p: fix re-use of root Qid when using createfile(); remove unused dirqidgen 2020-03-29 17:39:30 +00:00
libaml libaml: allow amlmapio() to re-enter the interpreter (can happen by pciadd() -> amleval()) 2018-11-04 19:48:27 +01:00
libauth libauth: do not set errstr in auth_rpc() for ARdone result (thanks majiru) 2019-08-02 19:06:23 +02:00
libauthsrv libauthsrv: authdial smprint() out of memory autism 2019-04-06 20:23:00 +02:00
libavl
libbin
libbio
libc Add test for pow.c 2019-06-16 18:21:52 -07:00
libcomplete
libcontrol
libdisk libdisk: catch null bytes in proto file, fix memory leaks 2018-10-20 20:32:22 +02:00
libdraw libdraw: avoid deadlock for mouse ioproc sending on resizec 2018-11-18 03:37:04 +01:00
libdtracy dtracy: avoid dmachlock() race 2019-03-30 09:17:46 +01:00
libfis
libflate
libframe
libgeometry
libhtml
libhttpd always zero initialize Tm structure for tm2sec() 2019-12-03 08:22:02 +01:00
libip libip: move optimized 386 assembly version of ptclbsum() from kernel to libip 2019-02-27 18:29:08 +01:00
libjson
liblex
libmach libmach: remove newline 2019-05-09 10:27:17 +02:00
libmemdraw libmemdraw: remove static Point p00 and use ZP instead 2019-03-09 17:36:19 +01:00
libmemlayer
libmp libmp: add dummy mkfile for arm64 2019-05-03 21:02:13 +02:00
libndb ip/ipconfig, ndb/dns, libndb: handle parseipmask() errors 2019-02-12 21:44:57 +01:00
libplumb
libregexp
libsat
libscribble
libsec libsec: remove hash pickle functions, document ripemd160, cleanup sechash(2) manpage 2020-03-01 15:07:44 +01:00
libstdio
libString
libsunrpc
libthread libthread: initial support for arm64 2019-05-03 21:03:12 +02:00
libttf ttf: SHZ also uses 0x36 2018-10-16 19:26:40 +00:00
libventi sys/src/libventi: implement vtsha1 and vtsha1check functions 2019-09-06 11:55:18 -07:00
mkfile add dtracy to mkfile 2018-11-11 10:10:30 +00:00
mkfile.proto arm64: add mkfile 2019-05-03 21:12:31 +02:00