summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoshii <toshii@pkgsrc.org>2003-01-18 06:37:02 +0000
committertoshii <toshii@pkgsrc.org>2003-01-18 06:37:02 +0000
commit5c4d484812c3f8827783ea16bb61bab3df058310 (patch)
tree2b8f04d773de50991913b474d212caa862fe0561
parent30aff3f75d1c4d9956b6d193aa57375de87ef3dc (diff)
downloadpkgsrc-5c4d484812c3f8827783ea16bb61bab3df058310.tar.gz
Apply a patch from sawfish cvs. This fixes mplayer full-screen switching.
* sawfish/wm/windows.jl (adjust-position-for-gravity/y): fixed typo when accessing window-frame-offset. Fixes #98315
-rw-r--r--wm/sawfish/distinfo3
-rw-r--r--wm/sawfish/patches/patch-ad13
2 files changed, 15 insertions, 1 deletions
diff --git a/wm/sawfish/distinfo b/wm/sawfish/distinfo
index b85f32814ff..6af16985f81 100644
--- a/wm/sawfish/distinfo
+++ b/wm/sawfish/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2003/01/10 01:02:36 mycroft Exp $
+$NetBSD: distinfo,v 1.7 2003/01/18 06:37:51 toshii Exp $
SHA1 (sawfish-1.2-gtk1.tar.gz) = 03ea1b6aa917db7ec52047c661bbadef8793e74a
Size (sawfish-1.2-gtk1.tar.gz) = 1519847 bytes
SHA1 (patch-aa) = 68ebcda2da73b32c245844d7b753e6b68e880647
SHA1 (patch-ab) = 20ffaa03c787c0edaee2cdeea5855395ebb57fdc
SHA1 (patch-ac) = 0f9558d5c968074d5ecf76534952478f128c2c29
+SHA1 (patch-ad) = aa2a4b382688ec954ff01b1a97299801a42e7c11
diff --git a/wm/sawfish/patches/patch-ad b/wm/sawfish/patches/patch-ad
new file mode 100644
index 00000000000..62bc5411ce5
--- /dev/null
+++ b/wm/sawfish/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2003/01/18 06:37:02 toshii Exp $
+
+--- lisp/sawfish/wm/windows.jl.orig Mon Nov 4 12:35:38 2002
++++ lisp/sawfish/wm/windows.jl
+@@ -320,7 +320,7 @@ If HINTS is non-nil, then it is the size
+ (t x))))
+
+ (define (adjust-position-for-gravity/y w grav y #!key inverse)
+- (let* ((tl-off (window-frame-offset w))
++ (let* ((tl-off (cdr (window-frame-offset w)))
+ (br-off (- (cdr (window-frame-dimensions w))
+ (cdr (window-dimensions w))))
+ (sign (if inverse -1 +1)))