Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19af34a

Browse files
committed
Revert "Fix Desktop file selection by using consistent IsCursorActivated check"
This reverts commit 4bff62f.
1 parent 4bff62f commit 19af34a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

QuickLook.Native/QuickLook.Native32/Shell32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ void Shell32::getSelectedFromDesktop(PWCHAR buffer)
169169
&pwba))))
170170
return;
171171

172-
if (HelperMethods::IsCursorActivated(0))
172+
if (HelperMethods::IsCursorActivated(reinterpret_cast<HWND>(LongToHandle(phwnd))))
173173
return;
174174

175175
CComPtr<IServiceProvider> psp;

0 commit comments

Comments
 (0)