[Bug 18543] Text input form and pulldown menu stop functioning
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat May 17 16:43:40 CDT 2014
http://bugs.winehq.org/show_bug.cgi?id=18543
--- Comment #20 from jin <gjin at ubicom.com> ---
Pulled the latest wine source 1.7.19 released yesterday and build on 32-bit
FreeBSD.
The problem is the same, and the patch to fix is also the same as 1.4.
*** dlls/comctl32/listview.c.orig Fri May 16 12:06:48 2014
--- dlls/comctl32/listview.c Sat May 17 13:42:36 2014
***************
*** 10162,10167 ****
--- 10162,10170 ----
lvHitTestInfo.pt.x = x;
lvHitTestInfo.pt.y = y;
+ if (!infoPtr->bFocus)
+ SetFocus(infoPtr->hwndSelf);
+
nItem = LISTVIEW_HitTest(infoPtr, &lvHitTestInfo, TRUE, TRUE);
TRACE("at %s, nItem=%d\n", wine_dbgstr_point(&pt), nItem);
if ((nItem >= 0) && (nItem < infoPtr->nItemCount))
***************
*** 10235,10243 ****
}
else
{
- if (!infoPtr->bFocus)
- SetFocus(infoPtr->hwndSelf);
-
/* remove all selections */
if (!(wKey & MK_CONTROL) && !(wKey & MK_SHIFT))
LISTVIEW_DeselectAll(infoPtr);
--- 10238,10243 ----
***************
*** 10316,10324 ****
LISTVIEW_DelayedEditItem);
}
- if (!infoPtr->bFocus)
- SetFocus(infoPtr->hwndSelf);
-
return 0;
}
--- 10316,10321 ----
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list