mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 21:59:22 +02:00
disabled gtk1 focussing a window, enable it with -dEnableGtkWindowFocus
git-svn-id: trunk@6997 -
This commit is contained in:
parent
4442c43d56
commit
954f62e620
@ -224,9 +224,9 @@ begin
|
||||
FormWidget:=PGtkWidget(AForm.Handle);
|
||||
FormWindow:=PGdkWindowPrivate(FormWidget^.window);
|
||||
if FormWindow<>nil then begin
|
||||
{ $IFDEF EnableGtkWindowFocus}
|
||||
{$IFDEF EnableGtkWindowFocus}
|
||||
GDK_WINDOW_ACTIVATE(FormWindow);
|
||||
{ $ENDIF}
|
||||
{$ENDIF}
|
||||
end;
|
||||
{$ENDIF}
|
||||
{$ifdef gtk2}
|
||||
@ -8987,6 +8987,9 @@ end;
|
||||
{ =============================================================================
|
||||
|
||||
$Log$
|
||||
Revision 1.416 2005/03/20 09:45:05 mattias
|
||||
disabled gtk1 focussing a window, enable it with -dEnableGtkWindowFocus
|
||||
|
||||
Revision 1.415 2005/03/20 09:35:47 mattias
|
||||
next try to fix the gtk1 crashing on focussing a window from Andrew Haines
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user