From e055c4a64df57991fbb8acb4f6677844d74daef5 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Wed, 27 Sep 2017 01:11:14 +0000 Subject: [PATCH] @icon: fix an old issue that inactive window reacted on mouse events git-svn-id: svn://kolibrios.org@7016 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/icon_new/DlgAdd.inc | 2 +- programs/system/icon_new/icon.asm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/system/icon_new/DlgAdd.inc b/programs/system/icon_new/DlgAdd.inc index aae9de4ca3..7d0a0e205a 100644 --- a/programs/system/icon_new/DlgAdd.inc +++ b/programs/system/icon_new/DlgAdd.inc @@ -157,7 +157,7 @@ startDlg: or [edtName.flags],ed_focus - mcall 40,100111b ;SetMaskMessage 100111b + mcall 40,EVM_REDRAW+EVM_KEY+EVM_BUTTON+EVM_MOUSE+EVM_MOUSE_FILTER xor eax,eax mov dword[MaxPage],0 @@: diff --git a/programs/system/icon_new/icon.asm b/programs/system/icon_new/icon.asm index ece3edc11d..cae6781cb7 100644 --- a/programs/system/icon_new/icon.asm +++ b/programs/system/icon_new/icon.asm @@ -137,7 +137,7 @@ START: ; start of execution mov dword[IPCbuffer+4],8 mcall 60,1,IPCbuffer,1024 - mcall 40,01100000b ;нужны только события мыши и IPC, + mcall 40,EVM_MOUSE+EVM_IPC ;нужны только события мыши и IPC, ;перерисовка иконок будет в другом потоке mov eax,[icon_count] mov bl,ICONS_DRAW_COUNTH