Quick fix to prevent the terminal from crashing in case it got a message

with mouse coordinates outside the window (yeah, it has been written
that bad).
Need to rewrite the whole mouse handling, though...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15152 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-11-25 16:20:32 +00:00
parent 39b345c7b6
commit 498cd44c3a
2 changed files with 23 additions and 17 deletions
+3 -1
View File
@@ -904,7 +904,9 @@ TermView::MouseTracking(void *data)
}
edpos = theObj->BPointToCurPos(edpoint);
if (edpos.y < 0)
continue;
if(stpoint == edpoint) {
continue;
} else {