Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 May 2006 00:44:30 +0900 (JST)
From:      Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
To:        marcus@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   Re: ports/97196: x11-wm/sawfish2 patches needed for amd64
Message-ID:  <20060515.004430.744594726.kasahara@nc.kyushu-u.ac.jp>
In-Reply-To: <200605131743.k4DHhJvj002874@freefall.freebsd.org>
References:  <200605131743.k4DHhJvj002874@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Oh, I'm really sorry that the patch I submitted was somewhat broken.
I used the web form of send-pr and I pasted patches, so tabs were
converted into multiple spaces.....

Index: src/functions.c
===================================================================
RCS file: /cvs/gnome/sawfish/src/functions.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- src/functions.c	3 Nov 2002 21:00:36 -0000	1.98
+++ src/functions.c	30 Oct 2003 05:35:18 -0000	1.99
@@ -1,5 +1,5 @@
 /* functions.c -- useful window manager Lisp functions
-   $Id: functions.c,v 1.98 2002/11/03 21:00:36 jsh Exp $
+   $Id: functions.c,v 1.99 2003/10/30 05:35:18 jsh Exp $
 
    Copyright (C) 1999 John Harper <john@dcs.warwick.ac.uk>
 
@@ -704,8 +704,10 @@
 	    repv name;
 	    if (type == XA_ATOM && (name = x_atom_symbol (l_data[i])) != Qnil)
 		rep_VECTI(ret_data, i) = name;
+	    else if (type == XA_INTEGER)
+		rep_VECTI(ret_data, i) = rep_make_long_int((long) l_data[i]);
 	    else
-		rep_VECTI(ret_data, i) = rep_make_long_uint(l_data[i]);
+		rep_VECTI(ret_data, i) = rep_make_long_uint(l_data[i] & 0xffffffffUL);
 	}
 	break;
     }


--- src/sawmill.h.orig	Sat May 13 17:31:12 2006
+++ src/sawmill.h	Mon May 15 00:41:12 2006
@@ -153,7 +153,7 @@
     /* Frame data */
     Window frame;
     struct frame_part *frame_parts;
-    u_int frame_x, frame_y;		/* relative to client-window */
+    int frame_x, frame_y;		/* relative to client-window */
     u_int frame_width, frame_height;
     void (*destroy_frame)(struct lisp_window *w);
     void (*focus_change)(struct lisp_window *w);





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