diff options
author | Brian P. Hinz <bphinz@users.sf.net> | 2019-11-03 17:43:56 -0500 |
---|---|---|
committer | Brian P. Hinz <bphinz@users.sf.net> | 2019-11-03 17:45:44 -0500 |
commit | e0f50f2e7fdea169193e8738ecea7ad3556531a9 (patch) | |
tree | 4680ee70c949c45c8463497c466ea4a06dd7d27f | |
parent | be9c0489ceb377ccc335085a8cb560d9a0f05511 (diff) | |
download | tigervnc-e0f50f2e7fdea169193e8738ecea7ad3556531a9.tar.gz tigervnc-e0f50f2e7fdea169193e8738ecea7ad3556531a9.zip |
Fix for dialog modality on Mac OS X
-rw-r--r-- | java/com/tigervnc/vncviewer/ServerDialog.java | 3 |
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); } |