summaryrefslogtreecommitdiff
path: root/x11-wm/fvwm2-devel/files/patch-modules-FvwmProxy-FvwmProxy.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--x11-wm/fvwm2-devel/files/patch-modules-FvwmProxy-FvwmProxy.c20
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 )
+ {