comctl32: Set listview focus in WM_LBUTTONDOWN

Piotr Caban piotr at codeweavers.com
Tue Dec 1 12:12:41 CST 2015


This patch reverts commit 098dc7b3302f39c5500d644615a6f4c37d328ce0 and
moves focus setting after LVN_ITEMCHANGED notification is sent. Writing
tests for it is tricky because native blocks inside WM_LBUTTONDOWN message.

The patch fixes following regression:
https://bugs.winehq.org/show_bug.cgi?id=27165
whithout breaking application from bug:
https://bugs.winehq.org/show_bug.cgi?id=14908

Signed-off-by: Piotr Caban <piotr at codeweavers.com>
---
  dlls/comctl32/listview.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-comctl32-Set-listview-focus-in-WM_LBUTTONDOWN.txt
Type: text/x-patch
Size: 734 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20151201/292652f9/attachment.bin>


More information about the wine-patches mailing list