fix from Matthias for unicode captions

svn path=/trunk/kdebase/kwin/; revision=56922
icc-effect-5.14.5
Lars Knoll 2000-07-14 20:51:15 +00:00
parent 7dcedd2f0d
commit e316ecc005
1 changed files with 4 additions and 3 deletions

View File

@ -525,7 +525,7 @@ void Client::manage( bool isMapped )
activateLayout();
resize ( sizeForWindowSize( geom.size() ) );
activateLayout();
move( geom.x(), geom.y() );
gravitate( FALSE );
@ -604,7 +604,7 @@ void Client::getWmNormalHints()
void Client::fetchName()
{
QString s;
if ( info->name() ) {
s = QString::fromUtf8( info->name() );
} else {
@ -660,7 +660,8 @@ bool Client::windowEvent( XEvent * e)
unsigned int dirty = info->event( e ); // pass through the NET stuff
dirty = 0; // shut up, compiler
if ( ( dirty & NET::WMName ) != 0 )
fetchName();
switch (e->type) {
case UnmapNotify: