diff options
Diffstat (limited to 'src/corelib/x11')
-rw-r--r-- | src/corelib/x11/fpg_x11.pas | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas index da169246..ccfdf95d 100644 --- a/src/corelib/x11/fpg_x11.pas +++ b/src/corelib/x11/fpg_x11.pas @@ -1,7 +1,7 @@ { fpGUI - Free Pascal GUI Toolkit - Copyright (C) 2006 - 2010 See the file AUTHORS.txt, included in this + Copyright (C) 2006 - 2011 See the file AUTHORS.txt, included in this distribution, for details of the copyright. See the file COPYING.modifiedLGPL, included in this distribution, @@ -242,6 +242,7 @@ type procedure CaptureMouse; override; procedure ReleaseMouse; override; procedure SetFullscreen(AValue: Boolean); override; + procedure BringToFront; override; end; @@ -2616,6 +2617,12 @@ begin fpgApplication.netlayer.WindowSetFullscreen(FWinHandle, AValue); end; +procedure TfpgX11Window.BringToFront; +begin + if HasHandle then + XRaiseWindow(xapplication.display, FWinHandle); +end; + { TfpgX11FontResource } function TfpgX11FontResource.DoGetTextWidthClassic(const txt: string): integer; |