Mercurial > hg > Applications > TreeVNC
changeset 297:ba5ab113fcca
small fix
author | oc |
---|---|
date | Thu, 15 Jan 2015 03:28:02 +0900 |
parents | 966331aef4b3 |
children | a9b8514a7c0e |
files | src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java Thu Jan 15 03:18:13 2015 +0900 +++ b/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java Thu Jan 15 03:28:02 2015 +0900 @@ -859,6 +859,7 @@ boolean setShareSound = presenter.showShareSoundDialog(); if (setShareSound) try { shareSound(viewer.getRfb().isTreeManager(), context); + viewer.getRfb().createShareSoundThread(viewer.getRfb()); } catch (SocketException e1) { e1.printStackTrace(); } catch (UnknownHostException e1) { @@ -870,6 +871,7 @@ return; } String adr = viewer.getRfb().getMyAddress(); + context.sendMessage(new ReadyShareSound()); context.sendMessage(new ScreenChangeRequest(adr, viewer.getRfb().getId(), (int) rectangles.get(leftScreenNumber).getWidth(), (int) rectangles.get(leftScreenNumber).getHeight())); } });