소스 검색

Move window to front on full screen

This should be happening implicitly, but isn't always for some reason on
macOS 13.
tags/v1.12.90
Pierre Ossman 1 년 전
부모
커밋
1d1550fb35
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5
    0
      vncviewer/cocoa.mm

+ 5
- 0
vncviewer/cocoa.mm 파일 보기

@@ -107,6 +107,11 @@ int cocoa_capture_displays(Fl_Window *win)

[nsw setLevel:CGShieldingWindowLevel()];

// We're not getting put in front of the shielding window in many
// cases on macOS 13, despite setLevel: being documented as also
// pushing the window to the front. So let's explicitly move it.
[nsw orderFront:nsw];

return 0;
}


Loading…
취소
저장