|
@@ -726,6 +726,9 @@ extension UTMQemuVirtualMachine {
|
|
}
|
|
}
|
|
do {
|
|
do {
|
|
let index = try await monitor.mouseIndex(forAbsolute: tablet)
|
|
let index = try await monitor.mouseIndex(forAbsolute: tablet)
|
|
|
|
+ guard index > -1 else {
|
|
|
|
+ return
|
|
|
|
+ }
|
|
try await monitor.mouseSelect(index)
|
|
try await monitor.mouseSelect(index)
|
|
ioService?.primaryInput?.requestMouseMode(!tablet)
|
|
ioService?.primaryInput?.requestMouseMode(!tablet)
|
|
} catch {
|
|
} catch {
|