Restore code commented from r.2414 - this is good code! See r. 1466 and 1513.
git-svn-id: svn://kolibrios.org@2424 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
570e99f573
commit
085a190723
@ -463,16 +463,16 @@ get_event_for_app: ;; used from f10,f11,f23
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
.FlagAutoReset: ; retvals: BgrRedraw=5, Mouse=6, IPC=7, Stack=8, Debug=9
|
.FlagAutoReset: ; retvals: BgrRedraw=5, Mouse=6, IPC=7, Stack=8, Debug=9
|
||||||
; cmp eax, 5; Mouse 5+1=6
|
cmp eax, 5; Mouse 5+1=6
|
||||||
; jne @f
|
jne @f
|
||||||
; push eax
|
push eax
|
||||||
; If the window is captured and moved by the user, then no mouse events!!!
|
; If the window is captured and moved by the user, then no mouse events!!!
|
||||||
; mov al, [mouse.active_sys_window.action]
|
mov al, [mouse.active_sys_window.action]
|
||||||
; and al, WINDOW_MOVE_AND_RESIZE_FLAGS
|
and al, WINDOW_MOVE_AND_RESIZE_FLAGS
|
||||||
; test al, al
|
test al, al
|
||||||
; pop eax
|
pop eax
|
||||||
; jnz .loop
|
jnz .loop
|
||||||
;@@:
|
@@:
|
||||||
btr [ebx+APPDATA.event_mask], eax
|
btr [ebx+APPDATA.event_mask], eax
|
||||||
jnc .loop
|
jnc .loop
|
||||||
.result: ; retval = eax+1
|
.result: ; retval = eax+1
|
||||||
|
Loading…
Reference in New Issue
Block a user