Append username to window title upon connecting to grid.
This commit is contained in:
@@ -3272,6 +3272,15 @@ void LLWindowMacOSX::spawnWebBrowser(const std::string& escaped_url, bool async)
|
||||
}
|
||||
}
|
||||
|
||||
void LLWindowMacOSX::setTitle(const std::string &title)
|
||||
{
|
||||
/*strncpy((char*)mWindowTitle + 1, title.c_str(), 253);
|
||||
mWindowTitle[0] = title.length();*/
|
||||
|
||||
CFStringRef title_str = CFStringCreateWithCString(NULL, title.c_str(), kCFStringEncodingUTF8);
|
||||
SetWindowTitleWithCFString(mWindow, title_str);
|
||||
}
|
||||
|
||||
LLSD LLWindowMacOSX::getNativeKeyData()
|
||||
{
|
||||
LLSD result = LLSD::emptyMap();
|
||||
|
||||
Reference in New Issue
Block a user