From c8665ec80e842f88a95be87848f72276ba1ff60d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 19 Feb 2023 15:29:25 -0800 Subject: [PATCH] macos: don't set cursor in mouseMoved --- macos/Sources/TerminalSurfaceView.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/macos/Sources/TerminalSurfaceView.swift b/macos/Sources/TerminalSurfaceView.swift index 9ad7dffc7..9a8e0bbbc 100644 --- a/macos/Sources/TerminalSurfaceView.swift +++ b/macos/Sources/TerminalSurfaceView.swift @@ -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.