1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-23 01:33:50 +03:00

update hidden state after slide-in

BUG: 406415
This commit is contained in:
Michail Vourlakos 2019-05-02 00:10:29 +03:00
parent fc9b683faf
commit c38e3016de
3 changed files with 7 additions and 2 deletions

View File

@ -52,6 +52,8 @@ VisibilityManager::VisibilityManager(PlasmaQuick::ContainmentView *view)
m_corona = qobject_cast<Latte::Corona *>(view->corona());
m_wm = m_corona->wm();
connect(this, &VisibilityManager::slideInFinished, this, &VisibilityManager::updateHiddenState);
if (m_latteView) {
connect(m_latteView, &Latte::View::eventTriggered, this, &VisibilityManager::viewEventManager);

View File

@ -110,6 +110,8 @@ signals:
void mustBeShown();
void mustBeHide();
void slideInFinished();
void modeChanged();
void raiseOnDesktopChanged();
void raiseOnActivityChanged();
@ -132,8 +134,6 @@ private:
void raiseView(bool raise);
void raiseViewTemporarily();
void updateHiddenState();
//! KWin Edges Support functions
void createEdgeGhostWindow();
@ -151,6 +151,7 @@ private slots:
void dodgeAllWindows();
void dodgeActive();
void dodgeMaximized();
void updateHiddenState();
private:
AbstractWindowInterface *m_wm;

View File

@ -721,6 +721,8 @@ Item{
if (manager.debugMagager) {
console.log("showing animation ended...");
}
latteView.visibility.slideInFinished();
}
function init() {