On second thought, titlebars like this are silly:

"user@host:~@host"

make it:

"user@host:~ <@host>"

svn path=/trunk/kdebase/kwin/; revision=361700
This commit is contained in:
George Staikos 2004-11-09 13:45:21 +00:00
parent c75eb7297f
commit 2ce16d70ba

View file

@ -1244,7 +1244,7 @@ void Client::setCaption( const QString& s, bool force )
bool was_suffix = ( !cap_suffix.isEmpty()); bool was_suffix = ( !cap_suffix.isEmpty());
QString machine_suffix; QString machine_suffix;
if( !isLocalMachine( wmClientMachine( false ))) if( !isLocalMachine( wmClientMachine( false )))
machine_suffix = "@" + wmClientMachine( true ); machine_suffix = " <@" + wmClientMachine( true ) + ">";
cap_suffix = machine_suffix; cap_suffix = machine_suffix;
if ( ( !isSpecialWindow() || isToolbar()) && workspace()->findClient( FetchNameInternalPredicate( this ))) if ( ( !isSpecialWindow() || isToolbar()) && workspace()->findClient( FetchNameInternalPredicate( this )))
{ {