small changes

git-svn-id: svn://kolibrios.org@1460 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Alexey Teplov ( 2010-05-06 01:10:56 +00:00
parent 2accd7bab7
commit 83d4e309e4

View File

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