diff -r 67b9b4d8c5fc -r a3530106314b GUI/ShowDesktop.cs --- a/GUI/ShowDesktop.cs Tue Sep 07 18:32:37 2010 +0000 +++ b/GUI/ShowDesktop.cs Tue Sep 07 18:40:00 2010 +0000 @@ -116,7 +116,7 @@ // search if the reference window is behind the worker window IntPtr reference = NativeMethods.FindWindowEx( IntPtr.Zero, workerWindow, null, referenceWindowCaption); - showDesktopDetected = reference == referenceWindow.Handle; + showDesktopDetected = reference != IntPtr.Zero; } else { // if there is no worker window, then nothing can hide the reference showDesktopDetected = false;