redo of revision 970 considering revision 985

git-svn-id: svn://kolibrios.org@986 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond) 2008-12-29 17:34:06 +00:00
parent bd0962c50e
commit d2029b5462

View File

@ -1206,8 +1206,12 @@ endg
inc esi
;..................................... start 3/4 : modified by vhanla .................
cmp [bPressedMouseXY_W],0
jnz @f
cmp [bPressedMouseXY_W],1
jb .first
ja @f
inc [bPressedMouseXY_W]
jmp @f
.first:
mov [bPressedMouseXY_W],1
mov ax,[MOUSE_X]
mov [mx],ax
@ -1254,6 +1258,9 @@ endg
cmp eax, ebx ; is this window active?
jz .move_resize_window
cmp [bPressedMouseXY_W], 1
ja .exit
; eax = position in windowing stack
; redraw must ?
lea esi, [WIN_POS + esi * 2]