Qt5,Qt6: fixed hintwindow grab focus with xfce window manager.

(cherry picked from commit be473cfce5)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
This commit is contained in:
Željan Rikalo 2025-01-22 12:41:21 +00:00 committed by Željan Rikalo
parent 71e4198b4e
commit f0ac13f7c6
2 changed files with 4 additions and 1 deletions

View File

@ -18704,6 +18704,9 @@ begin
Result := QWidget_create(Parent, QtTool or QtFramelessWindowHint);
FDeleteLater := True;
FMenuBar := nil;
{$IFDEF UNIX}
QWidget_setAttribute(Result, QtWA_ShowWithoutActivating);
{$ENDIF}
{$IFDEF QTSCROLLABLEFORMS}
ScrollArea := nil;
{$ENDIF}

View File

@ -18604,7 +18604,7 @@ begin
Result := QWidget_create(Parent, QtTool or QtFramelessWindowHint);
FDeleteLater := True;
FMenuBar := nil;
{$IFDEF DARWIN}
{$IFDEF UNIX}
QWidget_setAttribute(Result, QtWA_ShowWithoutActivating);
{$ENDIF}
{$IFDEF QTSCROLLABLEFORMS}