Changeset View
Changeset View
Standalone View
Standalone View
xdgshellclient.cpp
Show First 20 Lines • Show All 1395 Lines • ▼ Show 20 Line(s) | 1336 | { | |||
---|---|---|---|---|---|
1396 | ); | 1396 | ); | ||
1397 | connect(surface, &PlasmaShellSurfaceInterface::panelAutoHideShowRequested, this, | 1397 | connect(surface, &PlasmaShellSurfaceInterface::panelAutoHideShowRequested, this, | ||
1398 | [this] { | 1398 | [this] { | ||
1399 | hideClient(false); | 1399 | hideClient(false); | ||
1400 | ScreenEdges::self()->reserve(this, ElectricNone); | 1400 | ScreenEdges::self()->reserve(this, ElectricNone); | ||
1401 | m_plasmaShellSurface->showAutoHidingPanel(); | 1401 | m_plasmaShellSurface->showAutoHidingPanel(); | ||
1402 | } | 1402 | } | ||
1403 | ); | 1403 | ); | ||
1404 | if (surface->isPositionSet()) | ||||
1404 | updatePosition(); | 1405 | updatePosition(); | ||
1405 | updateRole(); | 1406 | updateRole(); | ||
1406 | updateShowOnScreenEdge(); | 1407 | updateShowOnScreenEdge(); | ||
1407 | connect(this, &XdgShellClient::frameGeometryChanged, this, &XdgShellClient::updateShowOnScreenEdge); | 1408 | connect(this, &XdgShellClient::frameGeometryChanged, this, &XdgShellClient::updateShowOnScreenEdge); | ||
1408 | 1409 | | |||
1409 | setSkipTaskbar(surface->skipTaskbar()); | 1410 | setSkipTaskbar(surface->skipTaskbar()); | ||
1410 | connect(surface, &PlasmaShellSurfaceInterface::skipTaskbarChanged, this, [this] { | 1411 | connect(surface, &PlasmaShellSurfaceInterface::skipTaskbarChanged, this, [this] { | ||
1411 | setSkipTaskbar(m_plasmaShellSurface->skipTaskbar()); | 1412 | setSkipTaskbar(m_plasmaShellSurface->skipTaskbar()); | ||
▲ Show 20 Lines • Show All 612 Lines • Show Last 20 Lines |