Commit 36e9153f authored by Owen Rudge's avatar Owen Rudge Committed by Alexandre Julliard

comctl32: Ensure listview control has focus when marquee dragging.

parent f1bb6722
......@@ -9539,6 +9539,9 @@ static LRESULT LISTVIEW_LButtonDown(LISTVIEW_INFO *infoPtr, WORD wKey, INT x, IN
}
else
{
if (!infoPtr->bFocus)
SetFocus(infoPtr->hwndSelf);
/* remove all selections */
if (!(wKey & MK_CONTROL) && !(wKey & MK_SHIFT))
LISTVIEW_DeselectAll(infoPtr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment