Re-optimize screen updates.
commita6eea7b4d6dd3e4385919b4a50a58688f9a6b52b
authorSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Thu, 24 Dec 2009 20:28:51 +0000 (24 15:28 -0500)
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Thu, 24 Dec 2009 20:28:51 +0000 (24 15:28 -0500)
tree066ebbc77d4f6d01aa5e07f137fbcff212ff2128
parenta33070eb0e61eff275c60051161d8310ec2e1851
Re-optimize screen updates.

In only the top line and the bottom line had to be updated, we were
updating the entire region in between as well! This clearly is bad.
So instead of doing that, just update the lines that need changing.
Thanks to Chris Jones for reporting the bug.
src/canvas.c
src/layer.c
src/layer.h
src/window.c