Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2580 → Rev 2579

/kernel/trunk/kernel.asm
3332,7 → 3332,9
;--------------------------------------
align 4
mouse_not_active:
cmp byte[REDRAW_BACKGROUND], 0 ; background update ?
xor eax, eax
xchg al, [REDRAW_BACKGROUND]
test al, al ; background update ?
jz nobackgr
 
cmp [background_defined], 0
3353,7 → 3355,6
pop eax
 
call drawbackground
; DEBUGF 1, "K : drawbackground\n"
;--------- set event 5 start ----------
push ecx edi
xor edi, edi
3368,7 → 3369,9
; call change_task - because the application must have time to call f.15.8
call change_task
;--------- set event 5 stop -----------
dec byte[REDRAW_BACKGROUND] ; got new update request?
xor eax, eax
xchg al, [REDRAW_BACKGROUND]
test al, al ; got new update request?
jnz @b
 
mov [draw_data+32 + RECT.left], eax