diff options
Diffstat (limited to 'twin')
-rw-r--r-- | twin/events.cpp | 2 | ||||
-rw-r--r-- | twin/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/twin/events.cpp b/twin/events.cpp index 45f4f6e35..fc6b77988 100644 --- a/twin/events.cpp +++ b/twin/events.cpp @@ -431,7 +431,7 @@ bool Workspace::workspaceEvent( XEvent * e ) return FALSE; break; case FocusIn: - if( e->xfocus.window == rootWin() && TQCString( getenv("KDE_MULTIHEAD")).lower() != "true" + if( e->xfocus.window == rootWin() && TQCString( getenv("TDE_MULTIHEAD")).lower() != "true" && ( e->xfocus.detail == NotifyDetailNone || e->xfocus.detail == NotifyPointerRoot )) { updateXTime(); // focusToNull() uses qt_x_time, which is old now (FocusIn has no timestamp) diff --git a/twin/main.cpp b/twin/main.cpp index c30dc3601..5bb1be654 100644 --- a/twin/main.cpp +++ b/twin/main.cpp @@ -255,7 +255,7 @@ KDE_EXPORT int kdemain( int argc, char * argv[] ) // we only do the multihead fork if we are not restored by the session // manager, since the session manager will register multiple twins, // one for each screen... - TQCString multiHead = getenv("KDE_MULTIHEAD"); + TQCString multiHead = getenv("TDE_MULTIHEAD"); if (multiHead.lower() == "true") { |