kernel: Fix window redraw after 1px move.

If
 - window A is above window B, and
 - window A has been moved,
then window B receives a redraw event.

But if that move was 1px right or down, window B didn't receive an event
because of off-by-one error. Now it's fixed.

git-svn-id: svn://kolibrios.org@9221 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Baravy 2021-10-18 16:23:18 +00:00
parent b5163461dc
commit 83176ac8ef

View File

@ -3956,12 +3956,12 @@ align 4
sub eax, ecx
dec ecx
jnz .start_x
jns .start_x
pop ecx
dec ebx
dec edx
jnz .start_y
jns .start_y
;--------------------------------------
align 4
.not_found: