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();
|
||||
});
|
||||
connect(shellSurface, &PlasmaShellSurfaceInterface::panelAutoHideHideRequested, this, [this] {
|
||||
hideClient(true);
|
||||
m_plasmaShellSurface->hideAutoHidingPanel();
|
||||
if (m_plasmaShellSurface->panelBehavior() == PlasmaShellSurfaceInterface::PanelBehavior::AutoHide) {
|
||||
hideClient(true);
|
||||
m_plasmaShellSurface->hideAutoHidingPanel();
|
||||
}
|
||||
updateShowOnScreenEdge();
|
||||
});
|
||||
connect(shellSurface, &PlasmaShellSurfaceInterface::panelAutoHideShowRequested, this, [this] {
|
||||
|
|
Loading…
Reference in a new issue