forked from KolibriOS/kolibrios
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:
parent
b5163461dc
commit
83176ac8ef
@ -3956,12 +3956,12 @@ align 4
|
|||||||
sub eax, ecx
|
sub eax, ecx
|
||||||
|
|
||||||
dec ecx
|
dec ecx
|
||||||
jnz .start_x
|
jns .start_x
|
||||||
|
|
||||||
pop ecx
|
pop ecx
|
||||||
dec ebx
|
dec ebx
|
||||||
dec edx
|
dec edx
|
||||||
jnz .start_y
|
jns .start_y
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
align 4
|
align 4
|
||||||
.not_found:
|
.not_found:
|
||||||
|
Loading…
Reference in New Issue
Block a user