Commit 8a099fb4 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

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.


(cherry picked from commit 5eaf46c2)
parent 8c329421
...@@ -712,7 +712,6 @@ void Workspace::removeDeleted(Deleted* c) ...@@ -712,7 +712,6 @@ void Workspace::removeDeleted(Deleted* c)
void Workspace::addShellClient(AbstractClient *client) void Workspace::addShellClient(AbstractClient *client)
{ {
setupClientConnections(client); setupClientConnections(client);
client->updateDecoration(false);
updateClientLayer(client); updateClientLayer(client);
if (client->isPlaceable()) { if (client->isPlaceable()) {
......
Supports Markdown
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