From cfdb41bed2c59b9f60da910974e156e131a07391 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Fri, 20 Apr 2012 16:27:21 +0000 Subject: [PATCH] TASK PANEL - activation mechanism when trying to run an existing appl. git-svn-id: svn://kolibrios.org@2638 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/panel/trunk/@PANEL.ASM | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/programs/system/panel/trunk/@PANEL.ASM b/programs/system/panel/trunk/@PANEL.ASM index 44ecd0afcf..f3cd32c75c 100644 --- a/programs/system/panel/trunk/@PANEL.ASM +++ b/programs/system/panel/trunk/@PANEL.ASM @@ -4,6 +4,12 @@ ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;------------------------------------------------------------------------------ +; version: 2.22 +; last update: 20/04/2012 +; changed by: Marat Zakiyanov aka Mario79, aka Mario +; changes: Activation mechanism when trying to run an existing appl. +; Forced redrawing the background after the clean desktop (Win+D) +;------------------------------------------------------------------------------ ; version: 2.2 ; last update: 19/04/2012 ; changed by: Marat Zakiyanov aka Mario79, aka Mario @@ -238,6 +244,8 @@ start_end_application: call algorithm_anti_duplication test eax,eax jz @f + + mcall 18,3,edi ret ;-------------------------------------- align 4 @@ -287,6 +295,8 @@ align 4 call algorithm_anti_duplication test eax,eax jz @f + + mcall 18,3,edi ret ;-------------------------------------- align 4 @@ -302,6 +312,7 @@ start_PrintScreen_application: call algorithm_anti_duplication test eax,eax jz @f + mcall 18,3,edi ret ;-------------------------------------- align 4 @@ -911,8 +922,13 @@ noselect: mov esi,calendar_name call algorithm_anti_duplication test eax,eax - jnz still + jz @f + mcall 18,3,edi + jmp still +;-------------------------------------- +align 4 +@@: mov ebx, exec_fileinfo mov dword [ebx+21], calendar_name mcall 70 @@ -948,8 +964,13 @@ noid16: mov esi,sysmeter_name call algorithm_anti_duplication test eax,eax - jnz still + jz @f + mcall 18,3,edi + jmp still +;-------------------------------------- +align 4 +@@: mov ebx, exec_fileinfo mov dword [ebx+21], sysmeter_name mcall 70