Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #10902 Terminal crashes setting window size.
Terminal crashes because fView is not connected to App Server when this is called so calling fView->GetMouse() is not allowed. We could perhaps check to make sure that fView is connected to App Server by checking that fView->Window() != NULL, but, a better way to handle this is to grab the already set fLastClickPoint variable from fView which eliminates the need to grab the current mouse position again. Worst case scenario is that fLastClickPoint hasn't been set in which case Terminal won't find anything to highlight or unhighlight. Also check to make sure that fView != NULL here for good measure. Fixes #10902
- Loading branch information