Skip site navigation (1)Skip section navigation (2)
Date:      12 Feb 2003 16:33:28 -0000
From:      Joe Kelsey <joek@zircon.staff.flyingcroc.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48215: sawfish2 cannot maximize mplayer windows
Message-ID:  <20030212163328.94481.qmail@zircon.staff.flyingcroc.net>

next in thread | raw e-mail | index | archive | help

>Number:         48215
>Category:       ports
>Synopsis:       sawfish2 cannot maximize mplayer windows
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 12 08:40:10 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Joe Kelsey
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD zircon.staff.flyingcroc.net 4.7-STABLE FreeBSD 4.7-STABLE #5: Tue Jan 28 10:02:45 PST 2003 joek@zircon.staff.flyingcroc.net:/usr/obj/usr/src/sys/ZIRCON i386

>Description:
	When running sawfish 2 in gnome2, trying to maximize mplayer
	windows (using the "f" key in mplayer, or the -fs commandline
	optioon", sawfish reports error:

	Bad argument: #<closure adjust-window-for-gravity/y> (0 . 0), 2

>How-To-Repeat:
	See above
>Fix:
	See bug #98315 http://bugzilla.gnome.org/show_bug.cgi?id=98315

--- lisp/sawfish/wm/windows.jl	Sun Nov  3 19:42:17 2002
+++ lisp/sawfish/wm/windows.jl	Wed Nov 13 22:58:00 2002
@@ -1,6 +1,6 @@
 #| windows.jl -- miscellaneous window mgmt functions
 
-   $Id: windows.jl,v 1.19.2.6 2002/11/04 03:42:17 jsh Exp $
+   $Id: windows.jl,v 1.31 2002/11/14 06:58:00 jsh Exp $
 
    Copyright (C) 2000 John Harper <john@dcs.warwick.ac.uk>
 
@@ -320,7 +320,7 @@
 	    (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)))



>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030212163328.94481.qmail>