From 76a67b908156124490210db74832f34d3ab3652e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 9 Apr 2016 20:36:58 +0300 Subject: Show server host name in window title. --- src/client.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index 3259f2265..ccc64b30f 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -775,6 +775,7 @@ void Client::stateConnectServer1() settings.persistentIp = mCurrentServer.persistentIp; settings.supportUrl = mCurrentServer.supportUrl; settings.updateMirrors = mCurrentServer.updateMirrors; + WindowManager::updateTitle(); if (settings.options.username.empty()) { @@ -1618,6 +1619,7 @@ int Client::gameExec() gameHandler->clear(); } settings.serverName.clear(); + WindowManager::updateTitle(); serverConfig.write(); serverConfig.unload(); if (setupWindow) -- cgit v1.2.3-60-g2f50