Makes the panelAutoHideHideCallback also handle panels set to "windows can cover"
This commit is contained in:
parent
3407b06c58
commit
b7bd93c567
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ void PlasmaShellSurfaceInterface::Private::panelAutoHideHideCallback(wl_client *
|
|||
{
|
||||
auto s = cast<Private>(resource);
|
||||
Q_ASSERT(client == *s->client);
|
||||
if (s->m_role != Role::Panel || s->m_panelBehavior != PanelBehavior::AutoHide) {
|
||||
if (s->m_role != Role::Panel || (s->m_panelBehavior != PanelBehavior::AutoHide && s->m_panelBehavior != PanelBehavior::WindowsCanCover)) {
|
||||
wl_resource_post_error(s->resource, ORG_KDE_PLASMA_SURFACE_ERROR_PANEL_NOT_AUTO_HIDE, "Not an auto hide panel");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue