final (i hope) alt+f4 fix. this one is for @panel

git-svn-id: svn://kolibrios.org@1755 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Baravy 2011-01-19 21:49:13 +00:00
parent 7ba87363fb
commit 9bb3849632

View File

@ -521,7 +521,10 @@ still:
button: ; button button: ; button
mov eax,17 mov eax,17
int 0x40 int 0x40
; dunkaist[
test eax, 0xfffffe00 ; is it close button? (signal from @panel)
jz still ; if so - wait for another event, because @panel shouldn't be closed
; dunkaist]
cmp al, 0 ; barsuk cmp al, 0 ; barsuk
jnz right_mouse jnz right_mouse
@ -1594,7 +1597,8 @@ draw_menuet_icon:
mov ecx, 1*65536 mov ecx, 1*65536
add ecx, [b_size_y] add ecx, [b_size_y]
dec ecx dec ecx
mov edx, 0x20000001 ; mov edx, 0x20000001 ; dunkaist[
mov edx, 0x20d1ff01 ; dunkaist]
add edx, [button_frames] add edx, [button_frames]
mov esi, [wcolor] mov esi, [wcolor]
int 0x40 int 0x40