From 7a4bbe995b8f60a31203af15c5b9905de646b8f4 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Wed, 11 Oct 2017 10:49:15 +0000 Subject: [PATCH] prevent double click on icon, add a small delay git-svn-id: svn://kolibrios.org@7087 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/icon_new/icon.asm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/programs/system/icon_new/icon.asm b/programs/system/icon_new/icon.asm index cae6781cb7..a4073015be 100644 --- a/programs/system/icon_new/icon.asm +++ b/programs/system/icon_new/icon.asm @@ -274,6 +274,7 @@ LButtonPress: mov dword[fiRunProg+8],edi mov dword[fiRunProg+21],ebx mcall 70,fiRunProg + test eax,80000000h jz @f @@ -284,6 +285,7 @@ LButtonPress: @@: pop eax stdcall RestoreBackgrnd,eax + mcall 5, 60 jmp messages ;-------------------------------------------------------------------------------