mirror of
https://github.com/KDE/latte-dock.git
synced 2025-02-05 05:47:26 +03:00
dont block hiding for #debugwindow#(s)
This commit is contained in:
parent
8b32be15b9
commit
3e17f718ee
@ -569,7 +569,7 @@ void View::statusChanged(Plasma::Types::ItemStatus status)
|
|||||||
|
|
||||||
void View::addTransientWindow(QWindow *window)
|
void View::addTransientWindow(QWindow *window)
|
||||||
{
|
{
|
||||||
if (!m_transientWindows.contains(window)) {
|
if (!m_transientWindows.contains(window) && !window->title().startsWith("#debugwindow#")) {
|
||||||
m_transientWindows.append(window);
|
m_transientWindows.append(window);
|
||||||
|
|
||||||
QString winPtrStr = "0x" + QString::number((qulonglong)window,16);
|
QString winPtrStr = "0x" + QString::number((qulonglong)window,16);
|
||||||
|
@ -452,7 +452,7 @@ void VisibilityManager::addBlockHidingEvent(const QString &type)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//qDebug() << " adding block hiding event :: " << type;
|
//qDebug() << " {{ ++++ adding block hiding event :: " << type;
|
||||||
|
|
||||||
bool prevHidingIsBlocked = hidingIsBlocked();
|
bool prevHidingIsBlocked = hidingIsBlocked();
|
||||||
|
|
||||||
@ -468,7 +468,7 @@ void VisibilityManager::removeBlockHidingEvent(const QString &type)
|
|||||||
if (!m_blockHidingEvents.contains(type) || type.isEmpty()) {
|
if (!m_blockHidingEvents.contains(type) || type.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//qDebug() << " remove block hiding event :: " << type;
|
//qDebug() << " {{ ---- remove block hiding event :: " << type;
|
||||||
|
|
||||||
bool prevHidingIsBlocked = hidingIsBlocked();
|
bool prevHidingIsBlocked = hidingIsBlocked();
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@ Window{
|
|||||||
width: mainGrid.width + 10
|
width: mainGrid.width + 10
|
||||||
height: Math.min(mainGrid.height+10, Screen.height - visibilityManager.thicknessNormalOriginal)
|
height: Math.min(mainGrid.height+10, Screen.height - visibilityManager.thicknessNormalOriginal)
|
||||||
visible: true
|
visible: true
|
||||||
|
title: "#debugwindow#"
|
||||||
|
|
||||||
property string space:" : "
|
property string space:" : "
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user