[wayland] Trigger update of client area when the panel behavior changes

This commit is contained in:
Martin Gräßlin 2015-06-25 09:04:51 +02:00
parent 1f6c0c07f7
commit 48bf38e830

View file

@ -617,6 +617,11 @@ void ShellClient::installPlasmaShellSurface(PlasmaShellSurfaceInterface *surface
};
connect(surface, &PlasmaShellSurfaceInterface::positionChanged, this, updatePosition);
connect(surface, &PlasmaShellSurfaceInterface::roleChanged, this, updateRole);
connect(surface, &PlasmaShellSurfaceInterface::panelBehaviorChanged, this,
[] {
workspace()->updateClientArea();
}
);
updatePosition();
updateRole();
}