Skip to content
Commit 22c7bc9f authored by Fushan Wen's avatar Fushan Wen
Browse files

SystemDialog: use `Qt.WindowCloseButtonHint` flag to add close button to decoration

According to the source code in qxcbwindow.cpp, WM_TRANSIENT_FOR will
only be set when a window belongs to certain types. When focus stealing
prevention is enabled, KWin tries to match transient window, and it will
block window activation when WM_TRANSIENT_FOR is not set.

See also https://codereview.qt-project.org/c/qt/qtbase/+/448355

BUG: 462061
FIXED-IN: 5.27
parent 4876d9fe
Pipeline #295563 passed with stage
in 34 minutes and 52 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment