diff options
author | Cy Schubert <cy@FreeBSD.org> | 2005-11-09 16:50:18 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2005-11-09 16:50:18 +0000 |
commit | a8c128492afbdcbb1675592d0646945576060e07 (patch) | |
tree | e402705df13ce14891016db37dce83806574b4d2 /x11-wm/fvwm2-devel/files/patch-modules-FvwmProxy-FvwmProxy.c | |
parent | Ditch some special-casing (diff) |
Fix build failure under FreeBSD-4.11.
PR: 87886
Submitted by: parv
Notes
Notes:
svn path=/head/; revision=147735
Diffstat (limited to '')
-rw-r--r-- | x11-wm/fvwm2-devel/files/patch-modules-FvwmProxy-FvwmProxy.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-wm/fvwm2-devel/files/patch-modules-FvwmProxy-FvwmProxy.c b/x11-wm/fvwm2-devel/files/patch-modules-FvwmProxy-FvwmProxy.c new file mode 100644 index 000000000000..d206f800bc9e --- /dev/null +++ b/x11-wm/fvwm2-devel/files/patch-modules-FvwmProxy-FvwmProxy.c @@ -0,0 +1,20 @@ +--- modules/FvwmProxy/FvwmProxy.c.orig Fri Aug 12 08:25:45 2005 ++++ modules/FvwmProxy/FvwmProxy.c Wed Nov 9 07:29:08 2005 +@@ -719,14 +719,15 @@ + { + Bool rc = False; + ProxyWindow *other=proxy->next; ++ int dx, dy; + + for (other=proxy->next; other; other=other->next) + { + if(other->desk != deskNumber) + continue; + +- int dx=abs(proxy->proxyx-other->proxyx); +- int dy=abs(proxy->proxyy-other->proxyy); ++ dx=abs(proxy->proxyx-other->proxyx); ++ dy=abs(proxy->proxyy-other->proxyy); + if (dx<(proxyWidth+proxySeparation) && + dy<proxyHeight+proxySeparation ) + { |