[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kdecore
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2005-03-22 13:18:52
Message-ID: 20050322131852.D31443C6 () office ! kde ! org
[Download RAW message or body]

CVS commit by lunakl: 

Who'd believe there would be apps using spaces in WM_CLASS ...


  M +2 -2      kstartupinfo.cpp   1.62


--- kdelibs/kdecore/kstartupinfo.cpp  #1.61:1.62
@@ -1131,5 +1131,5 @@ QString KStartupInfoData::to_text() cons
             .arg( d->desktop == NET::OnAllDesktops ? NET::OnAllDesktops : d->desktop \
- 1 ); // spec counts from 0  if( !d->wmclass.isEmpty())
-        ret += QString::fromLatin1( " WMCLASS=%1" ).arg( d->wmclass );
+        ret += QString::fromLatin1( " WMCLASS=\"%1\"" ).arg( d->wmclass );
     if( !d->hostname.isEmpty())
         ret += QString::fromLatin1( " HOSTNAME=%1" ).arg( d->hostname );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic