pkgsrc/wm/olvwm/patches/patch-winpush.c
2013-03-28 21:40:10 +00:00

32 lines
907 B
C

$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);