make the panelAutoHideHideRequested callback also handle panels set to "windows can cover"

remotes/origin/work/atomic-output-updates
Xaver Hugl 6 years ago
parent 03b12d1dfc
commit 901a9a2373
  1. 6
      xdgshellclient.cpp

@ -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…
Cancel
Save