From af6d0e398c1927f75f9a5e4b7b674a7782ed67e3 Mon Sep 17 00:00:00 2001 From: BenLand100 Date: Sat, 23 Jan 2010 16:03:40 +0000 Subject: [PATCH] Fixed ActivateClient not getting called git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@453 3f818213-9676-44b0-a9b4-5e4c4e03d09d --- trunk/Units/MMLCore/iomanager.pas | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/trunk/Units/MMLCore/iomanager.pas b/trunk/Units/MMLCore/iomanager.pas index ddd38fd..e822908 100644 --- a/trunk/Units/MMLCore/iomanager.pas +++ b/trunk/Units/MMLCore/iomanager.pas @@ -363,7 +363,11 @@ begin end; procedure TIOManager_Abstract.GetDimensions(var W, H: Integer); begin image.GetTargetDimensions(w,h) end; -procedure TIOManager_Abstract.ActivateClient; begin {lolwat} end; +procedure TIOManager_Abstract.ActivateClient; +begin + keymouse.ActivateClient(); + {not sure if image needs activation or not, if its a native window keymouse == image so it should be good.} +end; procedure TIOManager_Abstract.GetMousePos(var X, Y: Integer); begin keymouse.GetMousePosition(x,y) end; procedure TIOManager_Abstract.SetMousePos(X, Y: Integer); begin keymouse.MoveMouse(x,y); end;