From b545fc38fff0dea86958446b562e2945c02100ab Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 19 Jun 2013 10:59:24 -0500 Subject: Revert part of commit 9dbcc3d This reopens Bug 692 but resolves an irritating taskbar bug in Kate --- kate/app/katemain.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'kate/app') diff --git a/kate/app/katemain.cpp b/kate/app/katemain.cpp index 33c049cef..fc1f600a2 100644 --- a/kate/app/katemain.cpp +++ b/kate/app/katemain.cpp @@ -231,24 +231,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv ) else wRef.call("restore"); } - // The --use parameter forces Kate to use a single session window to host - // all opened files. Generally, that parameter works. Yet when a file is - // opened into Kate externally, such as from Konqueror, Kate will pop - // forward (raise) but not grab the focus (show). The following snippet - // resolves that problem. For whatever reason the hide call is needed - // before the raise and show otherwise the snippet fails. Some extra glue - // might be needed. With Kate open: - // "Right-click" on the title bar - // Select Advanced - // Select Special Application Settings (Not Special Window Settings) - // Select the Workarounds tab - // Enable the Focus stealing prevention check box - // Select the Force option - // Select the None option - - wRef.call( "hide" ); wRef.call( "raise" ); - wRef.call( "show" ); // stop startup notification TDEStartupInfo::appStarted( ); -- cgit v1.2.1