From e7a0c2bf33e723105145a039c1e981d059dc4495 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Sun, 29 Sep 2013 16:40:26 +0000 Subject: [PATCH] RUN - inactive window does not receive mouse events git-svn-id: svn://kolibrios.org@3942 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/macros.inc | 3 +++ programs/system/run/trunk/build_en.bat | 1 + programs/system/run/trunk/build_ru.bat | 1 + programs/system/run/trunk/run.asm | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/programs/macros.inc b/programs/macros.inc index 1a396a9de2..9d4c4ea837 100644 --- a/programs/macros.inc +++ b/programs/macros.inc @@ -595,3 +595,6 @@ EVM_IPC = 1000000b EVM_STACK = 10000000b EVM_DEBUG = 100000000b EVM_STACK2 = 1000000000b + +EVM_MOUSE_FILTER = 0x80000000 +EVM_CURSOR_FILTER = 0x40000000 diff --git a/programs/system/run/trunk/build_en.bat b/programs/system/run/trunk/build_en.bat index b0ae906bd8..5108faf741 100644 --- a/programs/system/run/trunk/build_en.bat +++ b/programs/system/run/trunk/build_en.bat @@ -1,5 +1,6 @@ @erase lang.inc @echo lang fix en >lang.inc @fasm run.asm run +@kpack run @erase lang.inc @pause \ No newline at end of file diff --git a/programs/system/run/trunk/build_ru.bat b/programs/system/run/trunk/build_ru.bat index 17283cf6f5..8b47780d88 100644 --- a/programs/system/run/trunk/build_ru.bat +++ b/programs/system/run/trunk/build_ru.bat @@ -1,5 +1,6 @@ @erase lang.inc @echo lang fix ru >lang.inc @fasm run.asm run +@kpack run @erase lang.inc @pause \ No newline at end of file diff --git a/programs/system/run/trunk/run.asm b/programs/system/run/trunk/run.asm index 7d97092924..75e10597f2 100644 --- a/programs/system/run/trunk/run.asm +++ b/programs/system/run/trunk/run.asm @@ -38,7 +38,7 @@ err_message_found_lib, head_f_l, myimport, err_message_import, head_f_i cmp [par],byte 0 jne read_par - mcall 40,EVM_MOUSE+EVM_BUTTON+EVM_KEY+EVM_REDRAW + mcall 40,EVM_MOUSE+EVM_BUTTON+EVM_KEY+EVM_REDRAW+EVM_MOUSE_FILTER red: mcall 48,3,sc,40 edit_boxes_set_sys_color input_fn,input_fn_end,sc