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:
parent
fc9b683faf
commit
c38e3016de
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
@ -721,6 +721,8 @@ Item{
|
||||
if (manager.debugMagager) {
|
||||
console.log("showing animation ended...");
|
||||
}
|
||||
|
||||
latteView.visibility.slideInFinished();
|
||||
}
|
||||
|
||||
function init() {
|
||||
|
Loading…
Reference in New Issue
Block a user