Skip to content

Commit 4bff62f

Browse files
Copilotemako
andcommitted
Fix Desktop file selection by using consistent IsCursorActivated check
Co-authored-by: emako <24737061+emako@users.noreply.github.com>
1 parent e0eb87b commit 4bff62f

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

175175
CComPtr<IServiceProvider> psp;

0 commit comments

Comments
 (0)