user32: Fix caret disappearing after scrolling.
commit1d3b9448f6dccf642b015359af53e03f295a76cb
authorLauri Kenttä <lauri.kentta@gmail.com>
Sat, 26 Nov 2016 16:03:43 +0000 (26 18:03 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 2 Dec 2016 20:10:12 +0000 (2 21:10 +0100)
treed690e9cb2dab376edd63a2dbe39104d8b723b72c
parent5d6f96fd9d890d617c6c0c6af7b6ab46c48ceb93
user32: Fix caret disappearing after scrolling.

The caret needs to be moved along with scrolling even if it's
outside the visible area. Otherwise, when the caret is scrolled
out from the view, the position won't get updated anymore and
the caret will never scroll back again.

The idea is based on the patch by André Hentschel.

Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/user32/painting.c