forked from KolibriOS/kolibrios
If the user to be resizing the window then mouse event is not generated (6 = mouse event)
git-svn-id: svn://kolibrios.org@1513 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -7,6 +7,13 @@
|
|||||||
|
|
||||||
$Revision$
|
$Revision$
|
||||||
|
|
||||||
|
WINDOW_MOVE_AND_RESIZE_FLAGS = \
|
||||||
|
mouse.WINDOW_RESIZE_N_FLAG + \
|
||||||
|
mouse.WINDOW_RESIZE_W_FLAG + \
|
||||||
|
mouse.WINDOW_RESIZE_S_FLAG + \
|
||||||
|
mouse.WINDOW_RESIZE_E_FLAG + \
|
||||||
|
mouse.WINDOW_MOVE_FLAG
|
||||||
|
|
||||||
uglobal
|
uglobal
|
||||||
align 4
|
align 4
|
||||||
event_start dd ?
|
event_start dd ?
|
||||||
@@ -460,7 +467,8 @@ get_event_for_app: ;; used from f10,f11,f23
|
|||||||
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]
|
||||||
test al, mouse.WINDOW_MOVE_FLAG
|
and al,WINDOW_MOVE_AND_RESIZE_FLAGS
|
||||||
|
test al,al
|
||||||
pop eax
|
pop eax
|
||||||
jnz .loop
|
jnz .loop
|
||||||
@@:
|
@@:
|
||||||
|
Reference in New Issue
Block a user