summaryrefslogtreecommitdiff
path: root/wm/olvwm/patches/patch-winpush.c
blob: 22cb78ed78a04c76715f8d75f62312a0e65cbb48 (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-winpush.c,v 1.1 2013/03/28 21:40:12 joerg Exp $

--- winpush.c.orig	2013-03-28 19:49:07.000000000 +0000
+++ winpush.c
@@ -95,11 +95,8 @@ WinPushPin	*winInfo;
 /* 
  * eventButtonRelease - handle button release events on the pushpin window 
  */
-static int
-eventButtonRelease(dpy, event, winInfo)
-Display	*dpy;
-XEvent	*event;
-WinPushPin	*winInfo;
+static void
+eventButtonRelease(Display *dpy, XEvent *event, WinPushPin *winInfo)
 {
 	FrameAllowEvents(winInfo->core.client, event->xbutton.time);
 	if (!AllButtonsUp(event))
@@ -121,11 +118,8 @@ WinPushPin	*winInfo;
 /* 
  * eventMotionNotify - handle pointer moves
  */
-static int
-eventMotionNotify(dpy, event, winInfo)
-Display	*dpy;
-XEvent	*event;
-WinPushPin	*winInfo;
+static void
+eventMotionNotify(Display *dpy, XEvent *event, WinPushPin *winInfo)
 {
 	Bool 	fInWindow;
 	Graphics_info	*gisNormal = WinGI(winInfo,NORMAL_GINFO);