Skip to content

Commit

Permalink
display(qemu): if capture on focus is enabled, capture when vm is sta…
Browse files Browse the repository at this point in the history
…rted or resumed
  • Loading branch information
osy committed Apr 30, 2024
1 parent da1cbf1 commit 933ad5a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ class VMDisplayQemuMetalWindowController: VMDisplayQemuWindowController {
}
super.enterLive()
resizeConsoleToolbarItem.isEnabled = false // disable item
if isWindowFocusAutoCapture {
captureMouse()
}
}

override func enterSuspended(isBusy busy: Bool) {
Expand Down

0 comments on commit 933ad5a

Please sign in to comment.