Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2413 → Rev 2414

/kernel/trunk/gui/event.inc
463,16 → 463,16
ret
 
.FlagAutoReset: ; retvals: BgrRedraw=5, Mouse=6, IPC=7, Stack=8, Debug=9
cmp eax, 5; Mouse 5+1=6
jne @f
push eax
; cmp eax, 5; Mouse 5+1=6
; jne @f
; push eax
; If the window is captured and moved by the user, then no mouse events!!!
mov al, [mouse.active_sys_window.action]
and al, WINDOW_MOVE_AND_RESIZE_FLAGS
test al, al
pop eax
jnz .loop
@@:
; mov al, [mouse.active_sys_window.action]
; and al, WINDOW_MOVE_AND_RESIZE_FLAGS
; test al, al
; pop eax
; jnz .loop
;@@:
btr [ebx+APPDATA.event_mask], eax
jnc .loop
.result: ; retval = eax+1