summaryrefslogtreecommitdiff
path: root/wm/olvwm/patches/patch-winpinmenu.c
blob: e2a0995835326554db7589f7f38cc056ab8f03ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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);