From e45f443117b9a38e61090a6abb600eafd4b87dd3 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Thu, 19 Apr 2012 18:38:44 +0000 Subject: [PATCH] KFAR editor correctly handles pressing of the system hotkey Alt+Tab and Shift+Alt+Tab. git-svn-id: svn://kolibrios.org@2633 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/fs/kfar/trunk/build_en.bat | 2 +- programs/fs/kfar/trunk/build_ru.bat | 2 +- programs/fs/kfar/trunk/kfar.asm | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/programs/fs/kfar/trunk/build_en.bat b/programs/fs/kfar/trunk/build_en.bat index 43976a6862..ebd13039c0 100644 --- a/programs/fs/kfar/trunk/build_en.bat +++ b/programs/fs/kfar/trunk/build_en.bat @@ -1,6 +1,6 @@ @erase lang.inc @echo lang fix en >lang.inc -@fasm kfar.asm kfar +@fasm -m 16384 kfar.asm kfar @erase lang.inc @kpack kfar @pause \ No newline at end of file diff --git a/programs/fs/kfar/trunk/build_ru.bat b/programs/fs/kfar/trunk/build_ru.bat index c5ffa6ecd9..03da891ced 100644 --- a/programs/fs/kfar/trunk/build_ru.bat +++ b/programs/fs/kfar/trunk/build_ru.bat @@ -1,6 +1,6 @@ @erase lang.inc @echo lang fix ru >lang.inc -@fasm kfar.asm kfar +@fasm -m 16384 kfar.asm kfar @erase lang.inc @kpack kfar @pause \ No newline at end of file diff --git a/programs/fs/kfar/trunk/kfar.asm b/programs/fs/kfar/trunk/kfar.asm index 86a5c010ee..7bec8ca2d2 100644 --- a/programs/fs/kfar/trunk/kfar.asm +++ b/programs/fs/kfar/trunk/kfar.asm @@ -7477,8 +7477,15 @@ editor_ctrlkeys: dd editor_OnKey.del dw 0x58, 0 dd F12 + dw 0xF, 0x100 ; Alt+Tab + dd dummy_key + dw 0xF, 0x101 ; Shift+Alt+Tab + dd dummy_key db 0 +dummy_key: + ret + dirinfo: dd 1 .first dd 0