diff --git a/src/private/FloatingWindow.cpp b/src/private/FloatingWindow.cpp index 23bce25b..f1dd6985 100644 --- a/src/private/FloatingWindow.cpp +++ b/src/private/FloatingWindow.cpp @@ -395,10 +395,10 @@ void FloatingWindow::updateTitleAndIcon() m_titleBar->setTitle(title); m_titleBar->setIcon(icon); - if (KDDockWidgets::usesNativeTitleBar()) { - setWindowTitle(title); - setWindowIcon(icon); - } + // Even without a native title bar it's nice to set the window title/icon, so it shows + // in the taskbar (when minimization is supported), or Alt-Tab (in supporting Window Managers) + setWindowTitle(title); + setWindowIcon(icon); } void FloatingWindow::onCloseEvent(QCloseEvent *e)