forked from KolibriOS/kolibrios
redo of revision 970 considering revision 985
git-svn-id: svn://kolibrios.org@986 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
bd0962c50e
commit
d2029b5462
@ -1206,8 +1206,12 @@ endg
|
|||||||
inc esi
|
inc esi
|
||||||
|
|
||||||
;..................................... start 3/4 : modified by vhanla .................
|
;..................................... start 3/4 : modified by vhanla .................
|
||||||
cmp [bPressedMouseXY_W],0
|
cmp [bPressedMouseXY_W],1
|
||||||
jnz @f
|
jb .first
|
||||||
|
ja @f
|
||||||
|
inc [bPressedMouseXY_W]
|
||||||
|
jmp @f
|
||||||
|
.first:
|
||||||
mov [bPressedMouseXY_W],1
|
mov [bPressedMouseXY_W],1
|
||||||
mov ax,[MOUSE_X]
|
mov ax,[MOUSE_X]
|
||||||
mov [mx],ax
|
mov [mx],ax
|
||||||
@ -1254,6 +1258,9 @@ endg
|
|||||||
cmp eax, ebx ; is this window active?
|
cmp eax, ebx ; is this window active?
|
||||||
jz .move_resize_window
|
jz .move_resize_window
|
||||||
|
|
||||||
|
cmp [bPressedMouseXY_W], 1
|
||||||
|
ja .exit
|
||||||
|
|
||||||
; eax = position in windowing stack
|
; eax = position in windowing stack
|
||||||
; redraw must ?
|
; redraw must ?
|
||||||
lea esi, [WIN_POS + esi * 2]
|
lea esi, [WIN_POS + esi * 2]
|
||||||
|
Loading…
Reference in New Issue
Block a user