mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
X11: Use different WM_CLASS for private browsing window
This commit is contained in:
parent
3740913067
commit
6f6bba66f6
@ -154,7 +154,12 @@ QupZilla::QupZilla(Qz::BrowserWindow type, QUrl startUrl)
|
||||
|
||||
QTimer::singleShot(0, this, SLOT(postLaunch()));
|
||||
|
||||
if (mApp->isPrivateSession()) {
|
||||
QzTools::setWmClass("QupZilla Browser (Private Window)", this);
|
||||
}
|
||||
else {
|
||||
QzTools::setWmClass("QupZilla Browser", this);
|
||||
}
|
||||
}
|
||||
|
||||
void QupZilla::openWithTab(WebTab* tab)
|
||||
|
Loading…
Reference in New Issue
Block a user