1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/x11-wm/olvwm/files/patch-winroot.c
Cy Schubert fbde5c5dd6 Fix build under 10-CURRENT.
Split old-style patch files into current standard individual patch files.
2013-09-18 05:16:46 +00:00

60 lines
1.3 KiB
C

--- winroot.c.orig 2013-09-17 21:38:07.482238656 -0700
+++ winroot.c 2013-09-17 22:13:41.361407148 -0700
@@ -197,7 +197,7 @@
WinRoot *winInfo;
{
if (pEvent->xcrossing.detail == NotifyNonlinearVirtual)
- return;
+ return 0;
ColorWindowCrossing(dpy, pEvent, winInfo);
@@ -291,7 +291,7 @@
int (*selectFunc)();
if (!pEvent->xmotion.same_screen)
- return;
+ return 0;
/* If the user hasn't moved more than the threshold
* amount, break out of here. REMIND Also, if we get a
@@ -304,9 +304,9 @@
GRV.MoveThreshold) &&
(ABS(pEvent->xmotion.y - winInfo->buttonPressEvent.xbutton.y) <
GRV.MoveThreshold))
- return;
+ return 0;
if (pEvent->xmotion.state == 0)
- return;
+ return 0;
/*
* On Select: Clear existing selected clients and add new ones
@@ -343,7 +343,7 @@
WinRoot *winInfo;
{
if (!AllButtonsUp(pEvent))
- return;
+ return 0;
/*
* This only happens if we did NOT get a motion notify
@@ -389,7 +389,7 @@
pEvent->xbutton.time)))
{
PropagatePressEventToChild(dpy, pEvent, child);
- return;
+ return 0;
}
/*
@@ -457,7 +457,7 @@
*/
if ((pEvent->xproperty.atom != XA_RESOURCE_MANAGER)
|| (pEvent->xproperty.state != PropertyNewValue))
- return;
+ return 0;
UpdateGlobals(dpy);
}