Subversion Repositories Kolibri OS

Rev

Rev 2466 | Rev 2472 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2466 Rev 2468
Line 67... Line 67...
67
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
67
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 68... Line 68...
68
 
68
 
69
include 'macros.inc'
69
include 'macros.inc'
Line 70... Line 70...
70
include 'struct.inc'
70
include 'struct.inc'
Line 71... Line 71...
71
 
71
 
Line 72... Line 72...
72
$Revision: 2466 $
72
$Revision: 2468 $
Line 1947... Line 1947...
1947
        call    delay_hs
1947
        call    delay_hs
1948
        jmp     waitterm
1948
        jmp     waitterm
1949
;------------------------------------------------------------------------------
1949
;------------------------------------------------------------------------------
1950
align 4
1950
align 4
1951
restore_default_cursor_before_killing:
1951
restore_default_cursor_before_killing:
-
 
1952
        pushfd
-
 
1953
        cli
1952
        mov     eax, [def_cursor]
1954
        mov     eax, [def_cursor]
1953
        mov     [ecx+APPDATA.cursor], eax
1955
        mov     [ecx+APPDATA.cursor], eax
Line 1954... Line 1956...
1954
 
1956
 
1955
        movzx   eax, word [MOUSE_Y]
1957
        movzx   eax, word [MOUSE_Y]
Line 1970... Line 1972...
1970
        push    esi
1972
        push    esi
1971
        call    [_display.select_cursor]
1973
        call    [_display.select_cursor]
1972
        mov     [current_cursor], esi
1974
        mov     [current_cursor], esi
1973
@@:
1975
@@:
1974
        mov     [redrawmouse_unconditional], 1
1976
        mov     [redrawmouse_unconditional], 1
-
 
1977
        popfd
1975
;        call    [draw_pointer]
1978
;        call    [draw_pointer]
1976
        call    __sys_draw_pointer
1979
        call    __sys_draw_pointer
1977
        ret
1980
        ret
1978
;------------------------------------------------------------------------------
1981
;------------------------------------------------------------------------------
1979
iglobal
1982
iglobal
Line 2067... Line 2070...
2067
 
2070
 
2068
        cmp     edx, [application_table_status]; clear app table stat
2071
        cmp     edx, [application_table_status]; clear app table stat
2069
        jne     noatsc
2072
        jne     noatsc
2070
        and     [application_table_status], 0
2073
        and     [application_table_status], 0
-
 
2074
noatsc:
-
 
2075
; for guarantee the updating data
2071
   noatsc:
2076
        call    change_task
2072
   noprocessterminate:
2077
noprocessterminate:
2073
        ret
2078
        ret
2074
;------------------------------------------------------------------------------
2079
;------------------------------------------------------------------------------
2075
sysfn_terminate2:
2080
sysfn_terminate2: