wayland: Don't call updateDecoration() for popups
After lowering the message severity for the KWIN_CORE logging category, it has been found that the Workspace calls the updateDecoration() method for every mapped popup surface. Since the XdgPopupClient doesn't implement that method, a warning message is printed every time a popup is mapped. Given that XdgToplevelClient updates the decoration when needed, we can remove the call to the updateDecoration() method.
This commit is contained in:
parent
33cf87f0ab
commit
5eaf46c248
1 changed files with 0 additions and 1 deletions
|
@ -712,7 +712,6 @@ void Workspace::removeDeleted(Deleted* c)
|
|||
void Workspace::addShellClient(AbstractClient *client)
|
||||
{
|
||||
setupClientConnections(client);
|
||||
client->updateDecoration(false);
|
||||
updateClientLayer(client);
|
||||
|
||||
if (client->isPlaceable()) {
|
||||
|
|
Loading…
Reference in a new issue