From kde-commits Fri Jan 25 17:06:07 2008 From: =?utf-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 25 Jan 2008 17:06:07 +0000 To: kde-commits Subject: branches/KDE/3.5/kdelibs/kio/kio Message-Id: <1201280767.308296.19432.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=120128077624690 SVN commit 766354 by lunakl: Fix bnc:#343359 - it actually can cause trouble when using startup notification for non-compliant apps, even if silent :-/. M +7 -1 krun.cpp --- branches/KDE/3.5/kdelibs/kio/kio/krun.cpp #766353:766354 @@ -615,11 +615,17 @@ return false; // no startup notification at all } else - { // Create startup notification even for apps for which there shouldn't be any, + { +#if 0 + // Create startup notification even for apps for which there shouldn't be any, // just without any visual feedback. This will ensure they'll be positioned on the proper // virtual desktop, and will get user timestamp from the ASN ID. wmclass = "0"; silent = true; +#else // That unfortunately doesn't work, when the launched non-compliant application + // launches another one that is compliant and there is any delay inbetween (bnc:#343359) + return false; +#endif } } if( silent_arg != NULL )