Commit cccc77f7 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

Makes the panelAutoHideHideCallback also handle panels set to "windows can cover"

parent 5c2631ab
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment