From e81c741bb2cf337a43524e75f22f7728ce17a343 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 8 Dec 2011 17:42:48 -0600 Subject: Rename additional KDE strings --- tdecore/kapplication.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tdecore/kapplication.cpp') diff --git a/tdecore/kapplication.cpp b/tdecore/kapplication.cpp index 5338cfccd..878b6e12f 100644 --- a/tdecore/kapplication.cpp +++ b/tdecore/kapplication.cpp @@ -1332,8 +1332,8 @@ static void checkRestartVersion( TQSessionManager& sm ) 0, 1, False, AnyPropertyType, &type, &format, &nitems, &after, &data ) == Success ) { if( data != NULL ) XFree( data ); - if( type == XA_STRING && format == 8 ) { // session set, check if KDE_SESSION_VERSION is not set (meaning KDE3) - if( XGetWindowProperty( dpy, RootWindow( dpy, 0 ), XInternAtom( dpy, "KDE_SESSION_VERSION", False ), + if( type == XA_STRING && format == 8 ) { // session set, check if TDE_SESSION_VERSION is not set (meaning KDE3) + if( XGetWindowProperty( dpy, RootWindow( dpy, 0 ), XInternAtom( dpy, "TDE_SESSION_VERSION", False ), 0, 1, False, AnyPropertyType, &type, &format, &nitems, &after, &data ) == Success ) { if( data != NULL ) XFree( data ); // KDE4 or newer @@ -1385,7 +1385,7 @@ void KApplication::saveState( TQSessionManager& sm ) // tell the session manager about our new lifecycle TQStringList restartCommand = sm.restartCommand(); - TQCString multiHead = getenv("KDE_MULTIHEAD"); + TQCString multiHead = getenv("TDE_MULTIHEAD"); if (multiHead.lower() == "true") { // if multihead is enabled, we save our -display argument so that // we are restored onto the correct head... one problem with this -- cgit v1.2.1