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:
@@ -904,7 +904,9 @@ TermView::MouseTracking(void *data)
|
||||
}
|
||||
|
||||
edpos = theObj->BPointToCurPos(edpoint);
|
||||
|
||||
if (edpos.y < 0)
|
||||
continue;
|
||||
|
||||
if(stpoint == edpoint) {
|
||||
continue;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user