Merging from old trunk:

r558891 | dfaure | 2006-07-06 11:15:57 +0200 (Thu, 06 Jul 2006) | 3 lines
Register as org.kde.kwin   (in addition to kapplication registering us as kwin_$PID)
Not sure why this isn't a kuniqueapplication though (but klauncher is in the same situation anyway)


svn path=/trunk/KDE/kdebase/workspace/; revision=659219
This commit is contained in:
Luboš Luňák 2007-04-29 18:16:15 +00:00
parent 3134929db3
commit f82685de38

View file

@ -291,9 +291,9 @@ KDE_EXPORT int kdemain( int argc, char * argv[] )
QString appname;
if (KWin::screen_number == 0)
appname = "kwin";
appname = "org.kde.kwin";
else
appname.sprintf("kwin-screen-%d", KWin::screen_number);
appname.sprintf("org.kde.kwin-screen-%d", KWin::screen_number);
QDBusConnection::sessionBus().interface()->registerService( appname, QDBusConnectionInterface::DontQueueService );