]> source.dussan.org Git - tigervnc.git/commitdiff
Fix for dialog modality on Mac OS X
authorBrian P. Hinz <bphinz@users.sf.net>
Sun, 3 Nov 2019 22:43:56 +0000 (17:43 -0500)
committerBrian P. Hinz <bphinz@users.sf.net>
Sun, 3 Nov 2019 22:45:20 +0000 (17:45 -0500)
java/com/tigervnc/vncviewer/ServerDialog.java

index bf3a72f8a31adb2a03ba96db78acc7ccf91e7505..c7067f53c147e7afad3b651038b71f1f023e173e 100644 (file)
@@ -227,6 +227,9 @@ class ServerDialog extends Dialog implements Runnable {
   }
 
   private void handleOptions() {
+    // quirk for mac os x
+    if (VncViewer.os.startsWith("mac os x"))
+      this.setAlwaysOnTop(false);
     OptionsDialog.showDialog(this);
   }