mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-20 11:59:26 +02:00
Qt: use direct X11 call for transient hint since Qt's QtTool flag is buggy. issue #29253
git-svn-id: trunk@51047 -
This commit is contained in:
parent
b7b8b6267a
commit
bcb331e395
@ -546,9 +546,9 @@ begin
|
||||
APopupParent := TCustomForm(AWinControl).GetRealPopupParent;
|
||||
if (APopupParent <> nil) then
|
||||
begin
|
||||
Flags := Widget.windowFlags;
|
||||
Widget.setParent(TQtWidget(APopupParent.Handle).Widget);
|
||||
Widget.setWindowFlags(Flags or QtTool);
|
||||
{use direct X11 call instead of QtTool flag.issue #29253}
|
||||
SetTransientForHint(Widget.Widget, TQtWidget(APopupParent.Handle).Widget);
|
||||
end;
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user