diff --git a/tabbox/clientmodel.cpp b/tabbox/clientmodel.cpp index 4ca7fef80a..e7ba4cced2 100644 --- a/tabbox/clientmodel.cpp +++ b/tabbox/clientmodel.cpp @@ -82,7 +82,8 @@ QVariant ClientModel::data(const QModelIndex& index, int role) const case MinimizedRole: return m_clientList[ clientIndex ]->isMinimized(); case CloseableRole: - return m_clientList[ clientIndex ]->isCloseable(); + //clients that claim to be first are not closeable + return m_clientList[ clientIndex ]->isCloseable() && !m_clientList[ clientIndex ]->isFirstInTabBox(); default: return QVariant(); }