make the panelAutoHideHideRequested callback also handle panels set to "windows can cover"
This commit is contained in:
parent
03b12d1dfc
commit
901a9a2373
1 changed files with 4 additions and 2 deletions
|
@ -1538,8 +1538,10 @@ void XdgToplevelClient::installPlasmaShellSurface(PlasmaShellSurfaceInterface *s
|
||||||
workspace()->updateClientArea();
|
workspace()->updateClientArea();
|
||||||
});
|
});
|
||||||
connect(shellSurface, &PlasmaShellSurfaceInterface::panelAutoHideHideRequested, this, [this] {
|
connect(shellSurface, &PlasmaShellSurfaceInterface::panelAutoHideHideRequested, this, [this] {
|
||||||
hideClient(true);
|
if (m_plasmaShellSurface->panelBehavior() == PlasmaShellSurfaceInterface::PanelBehavior::AutoHide) {
|
||||||
m_plasmaShellSurface->hideAutoHidingPanel();
|
hideClient(true);
|
||||||
|
m_plasmaShellSurface->hideAutoHidingPanel();
|
||||||
|
}
|
||||||
updateShowOnScreenEdge();
|
updateShowOnScreenEdge();
|
||||||
});
|
});
|
||||||
connect(shellSurface, &PlasmaShellSurfaceInterface::panelAutoHideShowRequested, this, [this] {
|
connect(shellSurface, &PlasmaShellSurfaceInterface::panelAutoHideShowRequested, this, [this] {
|
||||||
|
|
Loading…
Reference in a new issue