mirror of
https://github.com/moparisthebest/Simba
synced 2024-12-23 15:58:51 -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:
parent
4e931dc421
commit
3bacb9f537
@ -30,7 +30,7 @@ interface
|
||||
uses
|
||||
Classes, SysUtils, LCLIntf,LCLType,InterfaceBase,Forms,Controls,ExtCtrls,
|
||||
Graphics,
|
||||
Window
|
||||
Window,MufasaTypes
|
||||
|
||||
{$IFNDEF PICKER_CLIENT}
|
||||
{$IFDEF LINUX}
|
||||
@ -95,6 +95,8 @@ var
|
||||
{$IFNDEF PICKER_CLIENT}
|
||||
{$IFDEF LINUX}
|
||||
OldWindow: TWindow;
|
||||
{$ELSE}
|
||||
OldWindow: HWND;
|
||||
{$ENDIF}
|
||||
{$ENDIF}
|
||||
|
||||
@ -103,8 +105,10 @@ begin
|
||||
{$IFNDEF PICKER_CLIENT}
|
||||
{$IFDEF LINUX}
|
||||
OldWindow := Window.CurWindow;
|
||||
Window.SetTarget(Window.DesktopWindow);
|
||||
{$ELSE}
|
||||
OldWindow := Window.TargetHandle;
|
||||
{$ENDIF}
|
||||
Window.SetDesktop;
|
||||
{$ENDIF}
|
||||
w := 0;
|
||||
h := 0;
|
||||
@ -166,6 +170,8 @@ begin
|
||||
{$IFNDEF PICKER_CLIENT}
|
||||
{$IFDEF LINUX}
|
||||
Window.SetTarget(OldWindow);
|
||||
{$ELSE}
|
||||
Window.SetTarget(OldWindow, w_Window);
|
||||
{$ENDIF}
|
||||
{$ENDIF}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user