[PATCH] comctl32/listview: Do not select the first list item when drawing a marquee rectangle
Nikolay Sivov
bunglehead at gmail.com
Tue May 23 09:43:28 CDT 2017
On 22.05.2017 16:02, Hugh McMaster wrote:
> Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
> ---
> dlls/comctl32/listview.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
> index c681451..a117f83 100644
> --- a/dlls/comctl32/listview.c
> +++ b/dlls/comctl32/listview.c
> @@ -3892,6 +3892,9 @@ static void LISTVIEW_MarqueeHighlight(LISTVIEW_INFO *infoPtr, const POINT *coord
> if ((scroll & SCROLL_DOWN) && (coords_orig->y >= infoPtr->rcList.bottom))
> LISTVIEW_Scroll(infoPtr, 0, (coords_orig->y - infoPtr->rcList.bottom));
>
> + if (IsRectEmpty(&infoPtr->marqueeRect))
> + infoPtr->marqueeRect = rect;
> +
> iterator_frameditems_absolute(&old_elems, infoPtr, &infoPtr->marqueeRect);
>
> infoPtr->marqueeRect = rect;
>
How can I reproduce this issue?
More information about the wine-devel
mailing list