diff options
Diffstat (limited to 'src/kvirc/kernel/kvi_ipc.cpp')
-rw-r--r-- | src/kvirc/kernel/kvi_ipc.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kvirc/kernel/kvi_ipc.cpp b/src/kvirc/kernel/kvi_ipc.cpp index da6246a0..24876178 100644 --- a/src/kvirc/kernel/kvi_ipc.cpp +++ b/src/kvirc/kernel/kvi_ipc.cpp @@ -108,21 +108,21 @@ } Window root,parent; - Window * tqchildren; + Window * children; unsigned int nChildren; - if(!XQueryTree(kvi_ipc_get_xdisplay(),win,&root,&parent,&tqchildren,&nChildren)) + if(!XQueryTree(kvi_ipc_get_xdisplay(),win,&root,&parent,&children,&nChildren)) { - if(tqchildren)XFree((char *)tqchildren); + if(children)XFree((char *)children); return 0; } Window found = 0; for(int i=nChildren-1;(!found) && (i >= 0);i--) - found = kvi_x11_findIpcSentinel(tqchildren[i]); + found = kvi_x11_findIpcSentinel(children[i]); - if(tqchildren)XFree((char *)tqchildren); + if(children)XFree((char *)children); return found; } |