diff --git a/kernel/trunk/gui/mouse.inc b/kernel/trunk/gui/mouse.inc index 27b8166aa7..a68f0edca9 100644 --- a/kernel/trunk/gui/mouse.inc +++ b/kernel/trunk/gui/mouse.inc @@ -258,8 +258,8 @@ mouse._.left_button_press_handler: ;/////////////////////////////////////////// call .calculate_e_delta .call_window_handler: - mov eax, mouse.active_sys_window.old_box - call sys_window_start_moving_handler +; mov eax, mouse.active_sys_window.old_box +; call sys_window_start_moving_handler .exit: ret diff --git a/kernel/trunk/gui/window.inc b/kernel/trunk/gui/window.inc index f9ad6e846d..2ccc5bd4e3 100644 --- a/kernel/trunk/gui/window.inc +++ b/kernel/trunk/gui/window.inc @@ -1331,16 +1331,16 @@ align 4 ;------------------------------------------------------------------------------ align 4 ;------------------------------------------------------------------------------ -sys_window_start_moving_handler: ;///////////////////////////////////////////// +;sys_window_start_moving_handler: ;///////////////////////////////////////////// ;------------------------------------------------------------------------------ ;? ;------------------------------------------------------------------------------ ;> eax = old (original) window box ;> esi = process slot ;------------------------------------------------------------------------------ - mov edi, eax - call window._.draw_negative_box - ret +; mov edi, eax +; call window._.draw_negative_box +; ret ;------------------------------------------------------------------------------ align 4 ;------------------------------------------------------------------------------ @@ -1352,8 +1352,8 @@ sys_window_end_moving_handler: ;/////////////////////////////////////////////// ;> ebx = new (final) window box ;> esi = process slot ;------------------------------------------------------------------------------ - mov edi, ebx - call window._.end_moving__box +; mov edi, ebx +; call window._.end_moving__box mov edi, esi shl edi, 5 @@ -2384,17 +2384,17 @@ align 4 pop esi ebx eax ret ;------------------------------------------------------------------------------ -align 4 +;align 4 ;------------------------------------------------------------------------------ -window._.end_moving__box: ;////////////////////////////////////////////////// +;window._.end_moving__box: ;////////////////////////////////////////////////// ;------------------------------------------------------------------------------ ;? Draw positive box ;------------------------------------------------------------------------------ ;> edi = pointer to BOX struct ;------------------------------------------------------------------------------ - push eax ebx esi - xor esi, esi - jmp window._.draw_negative_box.1 +; push eax ebx esi +; xor esi, esi +; jmp window._.draw_negative_box.1 ;------------------------------------------------------------------------------ align 4 ;------------------------------------------------------------------------------