freebsd-ports/x11-toolkits/iv/files/patch-bp
Seigo Tanimura bf57334ca0 - Update to 3.2a.
- The maintainer is now a committer.

Reviewed by:	Kim Culhan <kimc@w8hd.org>
2000-01-25 02:35:00 +00:00

16 lines
582 B
Text

--- src/lib/IV-X11/xdrag.c.org Thu Jun 10 01:10:59 1993
+++ src/lib/IV-X11/xdrag.c Sun Jan 23 18:52:17 2000
@@ -229,11 +229,12 @@
XWindow *children;
unsigned int kids;
Status status;
+ int i;
status = XQueryTree(display, root, &root, &parent, &children, &kids);
if (status == 0) {
return None;
}
- for (int i = kids - 1; i >= 0 && children[i] != under ; --i);
+ for (i = kids - 1; i >= 0 && children[i] != under ; --i);
for (--i; i >= 0; --i) {
XWindowAttributes attributes;
XGetWindowAttributes(display, children[i], &attributes);