1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 06:05:24 +02:00

bug 205186: [regression][mac] SSH Terminal does not paint correctly on OSX

https://bugs.eclipse.org/bugs/show_bug.cgi?id=205186
The correct solution is to Control.redraw(...) the rectangle and to Control.update() to display the results....
This commit is contained in:
Michael Scharf 2007-10-17 23:18:18 +00:00
parent 26abd8a713
commit bf10b89b78

View file

@ -138,8 +138,10 @@ public abstract class VirtualCanvas extends Canvas {
protected void repaint(Rectangle r) {
if(isDisposed())
return;
redraw(r.x, r.y, r.width, r.height, true);
update();
if(inClipping(r,fClientArea)) {
redraw(r.x, r.y, r.width, r.height, true);
update();
}
}
/**