macos: don't set cursor in mouseMoved

This commit is contained in:
Mitchell Hashimoto
2023-02-19 15:29:25 -08:00
parent 6ea5a5d22d
commit c8665ec80e

View File

@ -268,7 +268,7 @@ class TerminalSurfaceView_Real: NSView, NSTextInputClient, ObservableObject {
// It is possible this is incorrect when we have splits. This will make
// mouse events only happen while the terminal is focused. Is that what
// we want?
.activeWhenFirstResponder,
.activeWhenFirstResponder,
],
owner: self,
userInfo: nil))
@ -322,8 +322,6 @@ class TerminalSurfaceView_Real: NSView, NSTextInputClient, ObservableObject {
}
override func mouseMoved(with event: NSEvent) {
NSCursor.iBeam.set()
guard let surface = self.surface else { return }
// Convert window position to view position. Note (0, 0) is bottom left.