mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-13 05:17:48 +03:00
update SecondConfigView when availableGeometryChanged
This commit is contained in:
parent
bb3ef16dea
commit
ae3c4d3cf0
@ -65,6 +65,8 @@ SecondaryConfigView::SecondaryConfigView(Latte::View *view, QWindow *parent)
|
||||
m_screenSyncTimer.setSingleShot(true);
|
||||
m_screenSyncTimer.setInterval(100);
|
||||
|
||||
connections << connect(m_parent, &PrimaryConfigView::availableScreenGeometryChanged, this, &SecondaryConfigView::syncGeometry);
|
||||
|
||||
connections << connect(&m_screenSyncTimer, &QTimer::timeout, this, [this]() {
|
||||
setScreen(m_latteView->screen());
|
||||
setFlags(wFlags());
|
||||
|
Loading…
Reference in New Issue
Block a user