Subversion Repositories Kolibri OS

Rev

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

Rev 2642 Rev 2709
Line 9... Line 9...
9
;;  Distributed under GPL. See file COPYING for details.        ;;
9
;;  Distributed under GPL. See file COPYING for details.        ;;
10
;;  Copyright 2003 Ville Turjanmaa                              ;;
10
;;  Copyright 2003 Ville Turjanmaa                              ;;
11
;;                                                              ;;
11
;;                                                              ;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 13... Line 13...
13
 
13
 
Line 14... Line 14...
14
$Revision: 2642 $
14
$Revision: 2709 $
15
 
15
 
16
 
16
 
Line 423... Line 423...
423
        mov     [eax+12], ecx
423
        mov     [eax+12], ecx
424
.cont:
424
.cont:
425
        add     eax, 16
425
        add     eax, 16
426
        cmp     eax, hotkey_list+256*16
426
        cmp     eax, hotkey_list+256*16
427
        jb      .loop
427
        jb      .loop
-
 
428
; get process PID
-
 
429
        mov     eax, esi
-
 
430
        shl     eax, 5
-
 
431
        mov     eax, [eax+CURRENT_TASK+TASKDATA.pid]
-
 
432
; compare current lock input with process PID
-
 
433
        cmp     eax, [PID_lock_input]
-
 
434
        jne     @f
-
 
435
 
-
 
436
        xor     eax, eax
-
 
437
        mov     [PID_lock_input], eax
-
 
438
@@:
428
; remove hotkeys in buffer
439
; remove hotkeys in buffer
429
        mov     eax, hotkey_buffer
440
        mov     eax, hotkey_buffer
430
.loop2:
441
.loop2:
431
        cmp     [eax], esi
442
        cmp     [eax], esi
432
        jnz     .cont2
443
        jnz     .cont2