summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian P. Hinz <bphinz@users.sf.net>2019-11-03 17:43:56 -0500
committerBrian P. Hinz <bphinz@users.sf.net>2019-11-03 17:45:44 -0500
commite0f50f2e7fdea169193e8738ecea7ad3556531a9 (patch)
tree4680ee70c949c45c8463497c466ea4a06dd7d27f
parentbe9c0489ceb377ccc335085a8cb560d9a0f05511 (diff)
downloadtigervnc-e0f50f2e7fdea169193e8738ecea7ad3556531a9.tar.gz
tigervnc-e0f50f2e7fdea169193e8738ecea7ad3556531a9.zip
Fix for dialog modality on Mac OS X
-rw-r--r--java/com/tigervnc/vncviewer/ServerDialog.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/com/tigervnc/vncviewer/ServerDialog.java b/java/com/tigervnc/vncviewer/ServerDialog.java
index bf3a72f8..c7067f53 100644
--- a/java/com/tigervnc/vncviewer/ServerDialog.java
+++ b/java/com/tigervnc/vncviewer/ServerDialog.java
@@ -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);
}