fix from Matthias for unicode captions

svn path=/trunk/kdebase/kwin/; revision=56922
This commit is contained in:
Lars Knoll 2000-07-14 20:51:15 +00:00
parent 7dcedd2f0d
commit e316ecc005

View file

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