[wayland] Trigger update of client area when the panel behavior changes
This commit is contained in:
parent
1f6c0c07f7
commit
48bf38e830
1 changed files with 5 additions and 0 deletions
|
@ -617,6 +617,11 @@ void ShellClient::installPlasmaShellSurface(PlasmaShellSurfaceInterface *surface
|
||||||
};
|
};
|
||||||
connect(surface, &PlasmaShellSurfaceInterface::positionChanged, this, updatePosition);
|
connect(surface, &PlasmaShellSurfaceInterface::positionChanged, this, updatePosition);
|
||||||
connect(surface, &PlasmaShellSurfaceInterface::roleChanged, this, updateRole);
|
connect(surface, &PlasmaShellSurfaceInterface::roleChanged, this, updateRole);
|
||||||
|
connect(surface, &PlasmaShellSurfaceInterface::panelBehaviorChanged, this,
|
||||||
|
[] {
|
||||||
|
workspace()->updateClientArea();
|
||||||
|
}
|
||||||
|
);
|
||||||
updatePosition();
|
updatePosition();
|
||||||
updateRole();
|
updateRole();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue