From 9bb3849632bc6286d0e03930d98a14a7b3deb266 Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Wed, 19 Jan 2011 21:49:13 +0000 Subject: [PATCH] final (i hope) alt+f4 fix. this one is for @panel git-svn-id: svn://kolibrios.org@1755 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/panel/trunk/@PANEL.ASM | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/programs/system/panel/trunk/@PANEL.ASM b/programs/system/panel/trunk/@PANEL.ASM index eda83c1d13..2771be8b73 100644 --- a/programs/system/panel/trunk/@PANEL.ASM +++ b/programs/system/panel/trunk/@PANEL.ASM @@ -521,7 +521,10 @@ still: button: ; button mov eax,17 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 jnz right_mouse @@ -1594,7 +1597,8 @@ draw_menuet_icon: mov ecx, 1*65536 add ecx, [b_size_y] dec ecx - mov edx, 0x20000001 +; mov edx, 0x20000001 ; dunkaist[ + mov edx, 0x20d1ff01 ; dunkaist] add edx, [button_frames] mov esi, [wcolor] int 0x40