diff options
author | Brian Hinz <bphinz@users.sourceforge.net> | 2012-09-01 19:24:26 +0000 |
---|---|---|
committer | Brian Hinz <bphinz@users.sourceforge.net> | 2012-09-01 19:24:26 +0000 |
commit | 4a95c7f69e8b308612c8fde4c748f148cdde6598 (patch) | |
tree | af0059b3e5b472e4bc139abec033e0ebb6bf11e3 /java/com/tigervnc/vncviewer/ClipboardDialog.java | |
parent | 3b0f2ae380ed9d1ac2e679480cf450329cc8f4e5 (diff) | |
download | tigervnc-4a95c7f69e8b308612c8fde4c748f148cdde6598.tar.gz tigervnc-4a95c7f69e8b308612c8fde4c748f148cdde6598.zip |
Forces all dialogs except for the clipboard to be modal. Fixes cases where dialogs are not brought to the front while in fullscreen mode. Corrects a few corner cases where viewer did not exit properly.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4988 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java/com/tigervnc/vncviewer/ClipboardDialog.java')
-rw-r--r-- | java/com/tigervnc/vncviewer/ClipboardDialog.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/java/com/tigervnc/vncviewer/ClipboardDialog.java b/java/com/tigervnc/vncviewer/ClipboardDialog.java index 69fc7114..41f92b1a 100644 --- a/java/com/tigervnc/vncviewer/ClipboardDialog.java +++ b/java/com/tigervnc/vncviewer/ClipboardDialog.java @@ -97,12 +97,10 @@ class ClipboardDialog extends Dialog implements ActionListener { current = ""; textArea.setText(current); } else if (s instanceof JButton && (JButton)s == sendButton) { - ok = true; current = textArea.getText(); cc.writeClientCutText(current, current.length()); endDialog(); } else if (s instanceof JButton && (JButton)s == cancelButton) { - ok = false; endDialog(); } } |