aboutsummaryrefslogtreecommitdiff
path: root/src/libdraw/alloc.c
diff options
context:
space:
mode:
authorDavid Jeannot <djeannot24@gmail.com>2012-03-05 15:54:26 -0500
committerRuss Cox <rsc@swtch.com>2012-03-05 15:54:26 -0500
commita31903778164deec9e58a525e2203bb416cafe0e (patch)
tree6ce03e12de1891df8f739ef9d324c0a44992b6b2 /src/libdraw/alloc.c
parentce26c364331c19034735972bb95f0270b7ebca9e (diff)
downloadplan9port-a31903778164deec9e58a525e2203bb416cafe0e.tar.gz
plan9port-a31903778164deec9e58a525e2203bb416cafe0e.tar.bz2
plan9port-a31903778164deec9e58a525e2203bb416cafe0e.zip
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
Diffstat (limited to 'src/libdraw/alloc.c')
0 files changed, 0 insertions, 0 deletions