/kernel/trunk/gui/mouse.inc |
---|
66,13 → 66,9 |
; NOTE: this code wouldn't be necessary if we knew window did |
; already redraw itself after call above |
or eax, eax |
jz @f |
jnz .exit |
and [mouse.state.buttons], 0 |
jmp .exit |
; is there any system button under cursor? |
@@: |
call mouse._.find_sys_button_under_cursor |
or eax, eax |
jz .check_buttons_released |
/kernel/trunk/gui/window.inc |
---|
1027,6 → 1027,7 |
xor eax, eax |
mov byte[MOUSE_BACKGROUND], al |
mov byte[DONT_DRAW_MOUSE], al |
dec eax |
;-------------------------------------- |
align 4 |
.exit: |