$NetBSD: patch-aa,v 1.5 2011/11/25 21:50:31 joerg Exp $ --- lib3d/gfxtarget.h.orig 1999-09-03 02:25:19.000000000 +0000 +++ lib3d/gfxtarget.h @@ -7,7 +7,7 @@ #define _GFXTARGET_H #include #include -#include +#include #include #include @@ -19,6 +19,7 @@ #include "general.h" #include "pt2d.h" +using namespace std; struct gfxTarget { Display *disp; // X Display @@ -72,7 +73,14 @@ struct gfxTarget { XFillRectangle(disp,win,gc,(int)p.x,(int)p.y,(int)sz.x,(int)sz.y); } void ResizeWindow(const pt2d& sz) { + #if 0 + /* This produces wierd artifacts on my systems--creeping windows, + and "oscillating" windows--NetBSD-1.4.1 and NetBSD-1.4P with + include X, also with PC Xserver. + --F. Bruckman , + */ XResizeWindow(disp,win,(int)sz.x,(int)sz.y); + #endif HandleResize(); }