mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 18:22:54 +02:00
Qt5,Qt6: fixed hintwindow grab focus with xfce window manager.
This commit is contained in:
parent
54e4530082
commit
be473cfce5
@ -18632,6 +18632,9 @@ begin
|
|||||||
Result := QWidget_create(Parent, QtTool or QtFramelessWindowHint);
|
Result := QWidget_create(Parent, QtTool or QtFramelessWindowHint);
|
||||||
FDeleteLater := True;
|
FDeleteLater := True;
|
||||||
FMenuBar := nil;
|
FMenuBar := nil;
|
||||||
|
{$IFDEF UNIX}
|
||||||
|
QWidget_setAttribute(Result, QtWA_ShowWithoutActivating);
|
||||||
|
{$ENDIF}
|
||||||
{$IFDEF QTSCROLLABLEFORMS}
|
{$IFDEF QTSCROLLABLEFORMS}
|
||||||
ScrollArea := nil;
|
ScrollArea := nil;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
@ -18532,7 +18532,7 @@ begin
|
|||||||
Result := QWidget_create(Parent, QtTool or QtFramelessWindowHint);
|
Result := QWidget_create(Parent, QtTool or QtFramelessWindowHint);
|
||||||
FDeleteLater := True;
|
FDeleteLater := True;
|
||||||
FMenuBar := nil;
|
FMenuBar := nil;
|
||||||
{$IFDEF DARWIN}
|
{$IFDEF UNIX}
|
||||||
QWidget_setAttribute(Result, QtWA_ShowWithoutActivating);
|
QWidget_setAttribute(Result, QtWA_ShowWithoutActivating);
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
{$IFDEF QTSCROLLABLEFORMS}
|
{$IFDEF QTSCROLLABLEFORMS}
|
||||||
|
Loading…
Reference in New Issue
Block a user