diff options
Diffstat (limited to 'src/qlibwindowmanager.cpp')
-rw-r--r-- | src/qlibwindowmanager.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/qlibwindowmanager.cpp b/src/qlibwindowmanager.cpp index be82cfd..4d32aab 100644 --- a/src/qlibwindowmanager.cpp +++ b/src/qlibwindowmanager.cpp @@ -142,6 +142,15 @@ void QLibWindowmanager::slotActivateWindow(){ } } +void QLibWindowmanager::slotActivateWindow(const QString& area){ + // This is needed for first rendering when the app is launched + if(!isActive){ + qDebug("Let's show %s", qPrintable(this->graphic_role.c_str())); + isActive = true; + this->activateWindow(this->graphic_role.c_str(), area); + } +} + // This API is deprecated, please use new API void QLibWindowmanager::slotActivateSurface(){ this->slotActivateWindow(); |