diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-03-17 13:44:00 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-03-17 17:18:50 +0100 |
commit | 79f82f95c1826b10fc39bc30ff1ecb00701557f7 (patch) | |
tree | 04f805fe01d81797639c62b1a8bc5236b19c4d27 /win/winvnc/VNCServerWin32.cxx | |
parent | 3aaaf66fb11d2a3b4abce5609f9995892fe66cad (diff) | |
download | tigervnc-79f82f95c1826b10fc39bc30ff1ecb00701557f7.tar.gz tigervnc-79f82f95c1826b10fc39bc30ff1ecb00701557f7.zip |
Local address change events are not socket specific
Diffstat (limited to 'win/winvnc/VNCServerWin32.cxx')
-rw-r--r-- | win/winvnc/VNCServerWin32.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/winvnc/VNCServerWin32.cxx b/win/winvnc/VNCServerWin32.cxx index 03899856..dbbf7c79 100644 --- a/win/winvnc/VNCServerWin32.cxx +++ b/win/winvnc/VNCServerWin32.cxx @@ -90,8 +90,8 @@ VNCServerWin32::~VNCServerWin32() { } -void VNCServerWin32::processAddressChange(network::SocketListener* sock_) { - if (!trayIcon || (sock_ != rfbSock.sock)) +void VNCServerWin32::processAddressChange() { + if (!trayIcon) return; // Tool-tip prefix depends on server mode @@ -144,7 +144,7 @@ void VNCServerWin32::regConfigChanged() { httpSock.setFilter(pattern.buf); // -=- Update the tray icon tooltip text with IP addresses - processAddressChange(rfbSock.sock); + processAddressChange(); } |