From f82685de38f4c44d15cea38d38de76cef34f7fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Sun, 29 Apr 2007 18:16:15 +0000 Subject: [PATCH] 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 --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index f645a1e053..fbee2a9ce0 100644 --- a/main.cpp +++ b/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 );