Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 389 → Rev 388

/kernel/trunk/hid/mousedrv.inc
100,7 → 100,6
mov ecx, [ScreenWidth]
inc ecx
mul ecx
 
movzx edx, byte [display_data+ebx+eax]
shl edx, 8
mov ecx, [edx+SLOT_BASE+APPDATA.cursor]
321,10 → 320,9
disable_m:
cmp dword [MOUSE_VISIBLE],dword 0
jne no_mouse_disable
pushf
cli
call draw_mouse_under
popf
sti
mov [MOUSE_VISIBLE],dword 1
no_mouse_disable:
popad
352,10 → 350,9
mov [MOUSE_VISIBLE], dword 0
movzx ebx,word [MOUSE_Y]
movzx eax,word [MOUSE_X]
pushfd
cli
call save_draw_mouse
popfd
sti
nodmu2:
popad
ret
370,11 → 367,10
jne redrawmouse
jmp nodmp
redrawmouse:
pushfd
cli
call draw_mouse_under
call save_draw_mouse
popfd
sti
nodmp:
popad
ret