1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-12-24 16:28:53 -05:00

Yo dawg I herd you like fixes

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@149 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
Wizzup? 2009-10-22 18:23:14 +00:00
parent 4e931dc421
commit 3bacb9f537

View File

@ -30,7 +30,7 @@ interface
uses uses
Classes, SysUtils, LCLIntf,LCLType,InterfaceBase,Forms,Controls,ExtCtrls, Classes, SysUtils, LCLIntf,LCLType,InterfaceBase,Forms,Controls,ExtCtrls,
Graphics, Graphics,
Window Window,MufasaTypes
{$IFNDEF PICKER_CLIENT} {$IFNDEF PICKER_CLIENT}
{$IFDEF LINUX} {$IFDEF LINUX}
@ -95,6 +95,8 @@ var
{$IFNDEF PICKER_CLIENT} {$IFNDEF PICKER_CLIENT}
{$IFDEF LINUX} {$IFDEF LINUX}
OldWindow: TWindow; OldWindow: TWindow;
{$ELSE}
OldWindow: HWND;
{$ENDIF} {$ENDIF}
{$ENDIF} {$ENDIF}
@ -103,8 +105,10 @@ begin
{$IFNDEF PICKER_CLIENT} {$IFNDEF PICKER_CLIENT}
{$IFDEF LINUX} {$IFDEF LINUX}
OldWindow := Window.CurWindow; OldWindow := Window.CurWindow;
Window.SetTarget(Window.DesktopWindow); {$ELSE}
OldWindow := Window.TargetHandle;
{$ENDIF} {$ENDIF}
Window.SetDesktop;
{$ENDIF} {$ENDIF}
w := 0; w := 0;
h := 0; h := 0;
@ -166,6 +170,8 @@ begin
{$IFNDEF PICKER_CLIENT} {$IFNDEF PICKER_CLIENT}
{$IFDEF LINUX} {$IFDEF LINUX}
Window.SetTarget(OldWindow); Window.SetTarget(OldWindow);
{$ELSE}
Window.SetTarget(OldWindow, w_Window);
{$ENDIF} {$ENDIF}
{$ENDIF} {$ENDIF}