mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Ref T447, utility function to set on top flag
Also a signal when "always on top" was triggered
This commit is contained in:
@@ -996,6 +996,7 @@ namespace BlackGui
|
||||
if (!w) { return false; }
|
||||
const bool onTop = CGuiUtility::toggleStayOnTop(w);
|
||||
CLogMessage(w).info(onTop ? QStringLiteral("Window on top") : QStringLiteral("Window not always on top"));
|
||||
emit this->alwaysOnTop(onTop);
|
||||
return onTop;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user