redraw cursor in 37.5 in any case
git-svn-id: svn://kolibrios.org@4507 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
11e35fedfb
commit
199e14f164
@ -295,15 +295,17 @@ proc set_cursor stdcall, hcursor:dword
|
|||||||
; jne .fail
|
; jne .fail
|
||||||
mov ebx, [current_slot]
|
mov ebx, [current_slot]
|
||||||
xchg eax, [ebx+APPDATA.cursor]
|
xchg eax, [ebx+APPDATA.cursor]
|
||||||
mov [redrawmouse_unconditional], 1
|
jmp .end
|
||||||
call __sys_draw_pointer
|
|
||||||
ret
|
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
align 4
|
align 4
|
||||||
.fail:
|
.fail:
|
||||||
mov eax, [def_cursor]
|
mov eax, [def_cursor]
|
||||||
mov ebx, [current_slot]
|
mov ebx, [current_slot]
|
||||||
xchg eax, [ebx+APPDATA.cursor]
|
xchg eax, [ebx+APPDATA.cursor]
|
||||||
|
align 4
|
||||||
|
.end:
|
||||||
|
mov [redrawmouse_unconditional], 1
|
||||||
|
call __sys_draw_pointer
|
||||||
ret
|
ret
|
||||||
endp
|
endp
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user