mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
bf57334ca0
- The maintainer is now a committer. Reviewed by: Kim Culhan <kimc@w8hd.org>
17 lines
582 B
Plaintext
17 lines
582 B
Plaintext
--- 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);
|