summaryrefslogtreecommitdiff
path: root/wm/olvwm/patches/patch-winpush.c
diff options
context:
space:
mode:
Diffstat (limited to 'wm/olvwm/patches/patch-winpush.c')
-rw-r--r--wm/olvwm/patches/patch-winpush.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/wm/olvwm/patches/patch-winpush.c b/wm/olvwm/patches/patch-winpush.c
new file mode 100644
index 00000000000..22cb78ed78a
--- /dev/null
+++ b/wm/olvwm/patches/patch-winpush.c
@@ -0,0 +1,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);