/kernel/trunk/data32.inc |
---|
398,6 → 398,8 |
mouse_active rd 1 |
mouse_pause rd 1 |
redrawmouse_unconditional rd 1 |
img_background rd 1 |
mem_BACKGROUND rd 1 |
static_background_data rd 1 |
/kernel/trunk/hid/mousedrv.inc |
---|
415,6 → 415,13 |
movzx edx, word [Y_UNDER] |
movzx ebx, word [MOUSE_Y] |
movzx eax, word [MOUSE_X] |
cmp [redrawmouse_unconditional], 0 |
je @f |
mov [redrawmouse_unconditional], 0 |
jmp redrawmouse |
;-------------------------------------- |
align 4 |
@@: |
cmp eax, ecx |
jne redrawmouse |
cmp ebx, edx |
/kernel/trunk/kernel.asm |
---|
1967,6 → 1967,8 |
push esi |
call [_display.select_cursor] |
mov [current_cursor], esi |
mov [redrawmouse_unconditional], 1 |
call [draw_pointer] |
ret |
;------------------------------------------------------------------------------ |
iglobal |