Subject: ts_test: clear screen on exit From: Wolfram Sang Make sure that ts_test clears the screen on exit. Signed-off-by: Wolfram Sang --- # 20081124: wsa: sent upstream as RFC. tests/ts_calibrate.c | 1 + tests/ts_test.c | 1 + 2 files changed, 2 insertions(+) Index: tests/ts_test.c =================================================================== --- tests/ts_test.c.orig +++ tests/ts_test.c @@ -213,5 +213,6 @@ int main() if (quit_pressed) break; } + fillrect (0, 0, xres - 1, yres - 1, 0); close_framebuffer(); } Index: tests/ts_calibrate.c =================================================================== --- tests/ts_calibrate.c.orig +++ tests/ts_calibrate.c @@ -235,6 +235,7 @@ int main() i = -1; } + fillrect (0, 0, xres - 1, yres - 1, 0); close_framebuffer(); return i; }