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:
parent
3134929db3
commit
f82685de38
1 changed files with 2 additions and 2 deletions
4
main.cpp
4
main.cpp
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue