diff options
author | fredb <fredb> | 2000-01-06 08:46:33 +0000 |
---|---|---|
committer | fredb <fredb> | 2000-01-06 08:46:33 +0000 |
commit | 28a8393f3d02e09221cc81d4b8dcf74f91860a6f (patch) | |
tree | 30d53f4ceb044a0e371abd66533c5432e97fdb31 /games | |
parent | ea873a258d536499bb5521653fc23c3a7f847621 (diff) | |
download | pkgsrc-28a8393f3d02e09221cc81d4b8dcf74f91860a6f.tar.gz |
Prevent windows from "oscillating" and walking off the screen by
nop'ing XResizeWindow. This makes it act nearly as if -noresize
is always given on the command line. Oddly enough, this permits
you to resize the window freely. (All "resize" does is attempt
to scale the vertical for you. Without it, you can make the window
tall enough to show a black bar on the bottom--that's all.)
Diffstat (limited to 'games')
-rw-r--r-- | games/battleball/patches/patch-aa | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/games/battleball/patches/patch-aa b/games/battleball/patches/patch-aa new file mode 100644 index 00000000000..6c0e98ebd46 --- /dev/null +++ b/games/battleball/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.3 2000/01/06 08:46:33 fredb Exp $ + +--- lib3d/gfxtarget.h.orig Thu Sep 2 21:25:19 1999 ++++ lib3d/gfxtarget.h Thu Jan 6 02:05:27 2000 +@@ -72,7 +72,14 @@ + 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 <fb@enteract.com>,<fredb@netbsd.org> ++ */ + XResizeWindow(disp,win,(int)sz.x,(int)sz.y); ++ #endif + HandleResize(); + } + |