diff options
author | marcus <marcus@FreeBSD.org> | 2006-05-13 17:42:54 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2006-05-13 17:42:54 +0000 |
commit | 19a21ab4933c61477daaa6ccb4304b35ca3a8314 (patch) | |
tree | 684ecaa3994b3b69bbb3e09cbf3a6823d060fadc /x11-wm | |
parent | c156bbc8d0537ba5cb4eaa9635e53bbb1bd07825 (diff) | |
download | FreeBSD-ports-19a21ab4933c61477daaa6ccb4304b35ca3a8314.zip FreeBSD-ports-19a21ab4933c61477daaa6ccb4304b35ca3a8314.tar.gz |
* Fix drawing of window borders on 64-bit platforms [1]
* Fix warp-cursor-to-window on 64-bit platforms
PR: 97196
Submitted by: Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
Obtained from: Sawfish CVS [1]
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/sawfish2/Makefile | 2 | ||||
-rw-r--r-- | x11-wm/sawfish2/files/patch-functions.c | 17 | ||||
-rw-r--r-- | x11-wm/sawfish2/files/patch-sawmill.h | 11 |
3 files changed, 29 insertions, 1 deletions
diff --git a/x11-wm/sawfish2/Makefile b/x11-wm/sawfish2/Makefile index 26d4067..e48f904 100644 --- a/x11-wm/sawfish2/Makefile +++ b/x11-wm/sawfish2/Makefile @@ -7,7 +7,7 @@ PORTNAME= sawfish2 PORTVERSION= 1.3 -PORTREVISION= 11 +PORTREVISION= 12 PORTEPOCH= 2 CATEGORIES= x11-wm MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} diff --git a/x11-wm/sawfish2/files/patch-functions.c b/x11-wm/sawfish2/files/patch-functions.c new file mode 100644 index 0000000..8b8d872 --- /dev/null +++ b/x11-wm/sawfish2/files/patch-functions.c @@ -0,0 +1,17 @@ +--- src/functions.c 3 Nov 2002 21:00:36 -0000 1.98 ++++ src/functions.c 30 Oct 2003 05:35:18 -0000 1.99 +@@ -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; + } + + + diff --git a/x11-wm/sawfish2/files/patch-sawmill.h b/x11-wm/sawfish2/files/patch-sawmill.h new file mode 100644 index 0000000..971ed12 --- /dev/null +++ b/x11-wm/sawfish2/files/patch-sawmill.h @@ -0,0 +1,11 @@ +--- src/sawmill.h.orig Mon Jan 13 05:35:23 2003 ++++ src/sawmill.h Mon May 8 11:52:40 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); |