Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1460 → Rev 1459

/kernel/trunk/gui/window.inc
856,12 → 856,11
;------------------------------------------------------------------------------
;? Activate window, redrawing if necessary
;------------------------------------------------------------------------------
; push -1
push -1
mov eax, [TASK_COUNT]
lea eax, [WIN_POS + eax * 2]
cmp eax, esi
; pop eax
or eax,-1
pop eax
je .exit
 
; is it overlapped by another window now?
902,11 → 901,10
.do_not_draw:
; no it's not, just activate the window
call window._.window_activate
mov byte[MOUSE_BACKGROUND], 0
mov byte[DONT_DRAW_MOUSE], 0
xor eax, eax
mov byte[MOUSE_BACKGROUND], al
mov byte[DONT_DRAW_MOUSE], al
 
 
.exit:
mov byte[MOUSE_DOWN], 0
inc eax