David Jeannot a319037781 Devdraw now waits for the image: this means that
there is no more blank image when toggling
fullscreen, when unminimizing, or at startup; this
also means that we can live resize, but we only
enable live resizing with Page, because it seems
useless for other apps, and Acme and Sam bug with
it. The tradeoff is that bottom corners are
sometimes automatically rounded. There is a way to
prevent the rounding here:
http://parmanoir.com/Custom_NSThemeFrame
but this would obfuscate the code. Instead, we
make sure that the corners are always rounded.

Closing the window while its content is updated
causes an exception, without this patch. This
seems to happen regularly with stats(1).

This patch avoids a possible deadlock at startup,
which I never experienced. If I recollect right,
there is little chance that this happens on a
multi-core CPU.

Minimizing now activates next app in line, and
Devdraw now stops drawing while minimized.

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5499043
2012-03-05 15:54:26 -05:00
2012-02-19 18:11:39 -05:00
2011-09-19 08:58:59 -04:00
2005-07-18 22:52:05 +00:00
2005-09-13 01:24:50 +00:00
2012-02-19 18:11:39 -05:00
2012-01-20 13:10:09 -05:00
2005-02-13 22:09:54 +00:00
2009-04-30 07:28:37 -07:00
2007-11-27 15:39:06 -05:00
2012-03-05 15:39:06 -05:00
2004-04-21 23:43:46 +00:00
2005-01-13 04:56:07 +00:00
2005-01-27 19:28:22 +00:00
2007-11-27 15:39:06 -05:00
2009-07-14 22:55:52 -07:00
2008-05-10 13:38:21 -04:00
2005-11-25 13:18:11 +00:00
2009-04-30 08:30:49 -07:00
2005-11-25 13:18:11 +00:00
2005-08-10 16:59:19 +00:00
2005-11-28 16:36:57 +00:00
2005-08-31 04:00:14 +00:00

This is a port of many Plan 9 libraries and programs to Unix.

* Installation

To install, run ./INSTALL.  It builds mk and then uses mk to
run the rest of the installation.  

For more details, see install(1), at install.txt in this directory
and at http://swtch.com/plan9port/man/man1/install.html.

* Documentation

See http://swtch.com/plan9port/man/ for more documentation.
(Documentation is also in this tree, but you need to run
a successful install first.  After that, "9 man 1 intro".)

Intro(1) contains a list of man pages that describe new features
or differences from Plan 9.

* Helping out

If you'd like to help out, great!  The TODO file contains a small list.

If you port this code to other architectures, please share your changes
so others can benefit.

Please use diff -u or CVS (see below) to prepare patches.

* CVS

You can use CVS to keep your local copy up-to-date as we make 
changes and fix bugs.  See the cvs(1) man page here ("9 man cvs")
for details on using cvs.

* Contact

Russ Cox <rsc@swtch.com>
Languages
C 91.6%
Roff 1.4%
C++ 1.3%
Yacc 1.2%
Shell 1.2%
Other 3%