mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: don't set cursor in mouseMoved
This commit is contained in:
@ -268,7 +268,7 @@ class TerminalSurfaceView_Real: NSView, NSTextInputClient, ObservableObject {
|
|||||||
// It is possible this is incorrect when we have splits. This will make
|
// 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
|
// mouse events only happen while the terminal is focused. Is that what
|
||||||
// we want?
|
// we want?
|
||||||
.activeWhenFirstResponder,
|
.activeWhenFirstResponder,
|
||||||
],
|
],
|
||||||
owner: self,
|
owner: self,
|
||||||
userInfo: nil))
|
userInfo: nil))
|
||||||
@ -322,8 +322,6 @@ class TerminalSurfaceView_Real: NSView, NSTextInputClient, ObservableObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override func mouseMoved(with event: NSEvent) {
|
override func mouseMoved(with event: NSEvent) {
|
||||||
NSCursor.iBeam.set()
|
|
||||||
|
|
||||||
guard let surface = self.surface else { return }
|
guard let surface = self.surface else { return }
|
||||||
|
|
||||||
// Convert window position to view position. Note (0, 0) is bottom left.
|
// Convert window position to view position. Note (0, 0) is bottom left.
|
||||||
|
Reference in New Issue
Block a user