summaryrefslogtreecommitdiff
path: root/games/battleball
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2000-01-06 08:46:33 +0000
committerfredb <fredb@pkgsrc.org>2000-01-06 08:46:33 +0000
commit0dddfa2c84287cb8274b450e1ada8379ba6b11a1 (patch)
tree30d53f4ceb044a0e371abd66533c5432e97fdb31 /games/battleball
parent481e26228b2fa1eeb0691a147ee8548e6741bcfb (diff)
downloadpkgsrc-0dddfa2c84287cb8274b450e1ada8379ba6b11a1.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/battleball')
-rw-r--r--games/battleball/patches/patch-aa19
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();
+ }
+