Some fixed for not getting windows to focus/to front which were inspired by FEATURE-992. [skip ci]

This commit is contained in:
Robin 2016-12-30 22:35:28 +01:00
parent b92d79ed39
commit 5a1a4737ec
8 changed files with 51 additions and 9 deletions

View file

@ -1256,7 +1256,6 @@ namespace GreenshotPlugin.Core {
/// </summary>
public static void ToForeground(IntPtr handle)
{
// Do nothing if the window is already in the foreground
if (User32.GetForegroundWindow() == handle)
{