Not redraw the frame of window when re-activating of active window.
git-svn-id: svn://kolibrios.org@2669 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
04d59d2a46
commit
33c4ad3cba
@ -258,8 +258,8 @@ mouse._.left_button_press_handler: ;///////////////////////////////////////////
|
|||||||
call .calculate_e_delta
|
call .calculate_e_delta
|
||||||
|
|
||||||
.call_window_handler:
|
.call_window_handler:
|
||||||
mov eax, mouse.active_sys_window.old_box
|
; mov eax, mouse.active_sys_window.old_box
|
||||||
call sys_window_start_moving_handler
|
; call sys_window_start_moving_handler
|
||||||
|
|
||||||
.exit:
|
.exit:
|
||||||
ret
|
ret
|
||||||
|
@ -1331,16 +1331,16 @@ align 4
|
|||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
align 4
|
align 4
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
sys_window_start_moving_handler: ;/////////////////////////////////////////////
|
;sys_window_start_moving_handler: ;/////////////////////////////////////////////
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
;? <description>
|
;? <description>
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
;> eax = old (original) window box
|
;> eax = old (original) window box
|
||||||
;> esi = process slot
|
;> esi = process slot
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
mov edi, eax
|
; mov edi, eax
|
||||||
call window._.draw_negative_box
|
; call window._.draw_negative_box
|
||||||
ret
|
; ret
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
align 4
|
align 4
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
@ -1352,8 +1352,8 @@ sys_window_end_moving_handler: ;///////////////////////////////////////////////
|
|||||||
;> ebx = new (final) window box
|
;> ebx = new (final) window box
|
||||||
;> esi = process slot
|
;> esi = process slot
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
mov edi, ebx
|
; mov edi, ebx
|
||||||
call window._.end_moving__box
|
; call window._.end_moving__box
|
||||||
|
|
||||||
mov edi, esi
|
mov edi, esi
|
||||||
shl edi, 5
|
shl edi, 5
|
||||||
@ -2384,17 +2384,17 @@ align 4
|
|||||||
pop esi ebx eax
|
pop esi ebx eax
|
||||||
ret
|
ret
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
align 4
|
;align 4
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
window._.end_moving__box: ;//////////////////////////////////////////////////
|
;window._.end_moving__box: ;//////////////////////////////////////////////////
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
;? Draw positive box
|
;? Draw positive box
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
;> edi = pointer to BOX struct
|
;> edi = pointer to BOX struct
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
push eax ebx esi
|
; push eax ebx esi
|
||||||
xor esi, esi
|
; xor esi, esi
|
||||||
jmp window._.draw_negative_box.1
|
; jmp window._.draw_negative_box.1
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
align 4
|
align 4
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user