summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2002-12-10 16:18:21 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2002-12-10 16:18:21 +0000
commit64c1c6181a2dc047c46302d22afe8123f5414e0e (patch)
treeb0b9852628ae176c0b8f719722aea1421b01f701 /x11-wm
parentUpdate w3m to 0.3.2.2 and w3m-m17n to 0.3.2.2+20021207. (diff)
Fix Build on -CURRENT
PR: 45841 Submitted by: Mikko Tyolajarvi <mikkot@pacbell.net> Approved by: Stefan `Sec` Zehl <sec@42.org> (maintainer)
Notes
Notes: svn path=/head/; revision=71504
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/wmx/files/patch-af29
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-wm/wmx/files/patch-af b/x11-wm/wmx/files/patch-af
new file mode 100644
index 000000000000..48bf81ca96b1
--- /dev/null
+++ b/x11-wm/wmx/files/patch-af
@@ -0,0 +1,29 @@
+--- Menu.C.org Fri Nov 29 12:25:19 2002
++++ Menu.C Fri Nov 29 12:26:57 2002
+@@ -588,7 +588,7 @@
+
+
+ CommandMenu::CommandMenu(WindowManager *manager, XEvent *e,
+- char* otherdir = NULL)
++ char* otherdir)
+ : Menu(manager, e)
+ {
+ const char *home = getenv("HOME");
+--- Border.C.orig Sat May 15 15:54:18 1999
++++ Border.C Fri Nov 29 13:03:51 2002
+@@ -631,11 +631,10 @@
+ }
+
+ int final = rl.count();
+- rl.append(rl.item(final-1));
+- rl.item(final).x -= 1;
+- rl.item(final).y += rl.item(final).height;
+- rl.item(final).width += 1;
+- rl.item(final).height = h - rl.item(final).height + 2;
++ rl.append(rl.item(final-1).x - 1,
++ rl.item(final-1).y + rl.item(final-1).height,
++ rl.item(final-1).width + 1,
++ h - rl.item(final-1).height + 2);
+
+ XShapeCombineRectangles(display(), m_parent, ShapeBounding,
+ 0, 0, rl.xrectangles(), rl.count(),