mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 17:10:45 +02:00
Merge pull request #15302 from sethalves/fix-linux-window-manager-fight
case 21994: cooperate, rather than fight with, Linux window managers
This commit is contained in:
commit
feb2757990
2 changed files with 7 additions and 4 deletions
|
@ -303,6 +303,9 @@ int main(int argc, const char* argv[]) {
|
|||
Application app(argcExtended, const_cast<char**>(argvExtended.data()), startupTime, runningMarkerExisted);
|
||||
PROFILE_SYNC_END(startup, "app full ctor", "");
|
||||
|
||||
#if defined(Q_OS_LINUX)
|
||||
app.setWindowIcon(QIcon(PathUtils::resourcesPath() + "images/hifi-logo.svg"));
|
||||
#endif
|
||||
|
||||
QTimer exitTimer;
|
||||
if (traceDuration > 0.0f) {
|
||||
|
|
|
@ -156,10 +156,10 @@ void DialogsManager::hmdTools(bool showTools) {
|
|||
}
|
||||
_hmdToolsDialog->show();
|
||||
_hmdToolsDialog->raise();
|
||||
qApp->getWindow()->activateWindow();
|
||||
} else {
|
||||
hmdToolsClosed();
|
||||
}
|
||||
qApp->getWindow()->activateWindow();
|
||||
}
|
||||
|
||||
void DialogsManager::hmdToolsClosed() {
|
||||
|
|
Loading…
Reference in a new issue