1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-27 06:03:51 +03:00

dont block hiding for #debugwindow#(s)

This commit is contained in:
Michail Vourlakos 2020-05-11 17:44:30 +03:00
parent 8b32be15b9
commit 3e17f718ee
3 changed files with 4 additions and 3 deletions

View File

@ -569,7 +569,7 @@ void View::statusChanged(Plasma::Types::ItemStatus status)
void View::addTransientWindow(QWindow *window)
{
if (!m_transientWindows.contains(window)) {
if (!m_transientWindows.contains(window) && !window->title().startsWith("#debugwindow#")) {
m_transientWindows.append(window);
QString winPtrStr = "0x" + QString::number((qulonglong)window,16);

View File

@ -452,7 +452,7 @@ void VisibilityManager::addBlockHidingEvent(const QString &type)
return;
}
//qDebug() << " adding block hiding event :: " << type;
//qDebug() << " {{ ++++ adding block hiding event :: " << type;
bool prevHidingIsBlocked = hidingIsBlocked();
@ -468,7 +468,7 @@ void VisibilityManager::removeBlockHidingEvent(const QString &type)
if (!m_blockHidingEvents.contains(type) || type.isEmpty()) {
return;
}
//qDebug() << " remove block hiding event :: " << type;
//qDebug() << " {{ ---- remove block hiding event :: " << type;
bool prevHidingIsBlocked = hidingIsBlocked();

View File

@ -30,6 +30,7 @@ Window{
width: mainGrid.width + 10
height: Math.min(mainGrid.height+10, Screen.height - visibilityManager.thicknessNormalOriginal)
visible: true
title: "#debugwindow#"
property string space:" : "