Fixed many valgrind errors. But, I broke testdyngl.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402740
This commit is contained in:
parent
011c8c6dc3
commit
b315d5379d
5 changed files with 65 additions and 15 deletions
|
@ -51,10 +51,15 @@ X11_DispatchEvent(_THIS)
|
|||
}
|
||||
|
||||
data = NULL;
|
||||
for (i = 0; i < videodata->numwindows; ++i) {
|
||||
if (videodata->windowlist[i]->window == xevent.xany.window) {
|
||||
data = videodata->windowlist[i];
|
||||
if (videodata &&
|
||||
videodata->windowlist) {
|
||||
for (i = 0; i < videodata->numwindows; ++i) {
|
||||
if ((videodata->windowlist[i] != NULL) &&
|
||||
(videodata->windowlist[i]->window == xevent.xany.window)) {
|
||||
data = videodata->windowlist[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!data) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue