summaryrefslogtreecommitdiff
path: root/wm/olvwm/patches/patch-winpinmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'wm/olvwm/patches/patch-winpinmenu.c')
-rw-r--r--wm/olvwm/patches/patch-winpinmenu.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/wm/olvwm/patches/patch-winpinmenu.c b/wm/olvwm/patches/patch-winpinmenu.c
new file mode 100644
index 00000000000..e2a09958353
--- /dev/null
+++ b/wm/olvwm/patches/patch-winpinmenu.c
@@ -0,0 +1,32 @@
+$NetBSD: patch-winpinmenu.c,v 1.1 2013/03/28 21:40:12 joerg Exp $
+
+--- winpinmenu.c.orig 2013-03-28 19:48:07.000000000 +0000
++++ winpinmenu.c
+@@ -84,11 +84,8 @@ afterMenuShow(win)
+ /*
+ * eventButtonPress - a button has gone down.
+ */
+-static int
+-eventButtonPress(dpy, event, winInfo)
+- Display *dpy;
+- XEvent *event;
+- WinPinMenu *winInfo;
++static void
++eventButtonPress(Display *dpy, XEvent *event, WinPinMenu *winInfo)
+ {
+ if (! StartMenuGrabs(dpy, winInfo))
+ return;
+@@ -99,11 +96,8 @@ eventButtonPress(dpy, event, winInfo)
+ }
+
+
+-static int
+-eventKeyEvent(dpy, event, winInfo)
+- Display *dpy;
+- XEvent *event;
+- WinPinMenu *winInfo;
++static void
++eventKeyEvent(Display *dpy, XEvent *event, WinPinMenu *winInfo)
+ {
+ MenuMakeFirst(winInfo->menuInfo, afterMenuShow, winInfo);
+