summaryrefslogtreecommitdiffstats
path: root/x11-wm/sawfish/files/patch-functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/sawfish/files/patch-functions.c')
-rw-r--r--x11-wm/sawfish/files/patch-functions.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-wm/sawfish/files/patch-functions.c b/x11-wm/sawfish/files/patch-functions.c
new file mode 100644
index 000000000..ac580c26c
--- /dev/null
+++ b/x11-wm/sawfish/files/patch-functions.c
@@ -0,0 +1,14 @@
+--- 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;
+ }