From 5f77ef3b41cc20c62b53124378338772ddeb952f Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sun, 26 Feb 2017 23:46:20 +0200 Subject: [PATCH] drop dock primary screen behavior from plasma --this cleans the plasma behavior for the primary screen that was creating a mess. The dock "on primary" state can now be implemented through Latte without breaking things --- app/screenpool.cpp | 15 ++++++++++----- shell/contents/configuration/BehaviorConfig.qml | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/app/screenpool.cpp b/app/screenpool.cpp index 3901df277..d51225f53 100644 --- a/app/screenpool.cpp +++ b/app/screenpool.cpp @@ -53,14 +53,15 @@ void ScreenPool::load() if (primary) { m_primaryConnector = primary->name(); if (!m_primaryConnector.isEmpty()) { - m_connectorForId[0] = m_primaryConnector; - m_idForConnector[m_primaryConnector] = 0; + //m_connectorForId[0] = m_primaryConnector; + //m_idForConnector[m_primaryConnector] = 0; } } //restore the known ids to connector mappings foreach (const QString &key, m_configGroup.keyList()) { QString connector = m_configGroup.readEntry(key, QString()); + qDebug() << "connector :" << connector << " - " < 1)