wayland: Lower severity of a log message about unknown uuid
The communication between the compositor and plasmashell is asynchronous. It's possible that plasma can call get_window_by_uuid before it is notified that the window has been closed. There's no any way around with the current design of the protocol. So printing a warning message is unjustified. This fixes kwin's logs being full of "could not find window" warning messages.
This commit is contained in:
parent
711c5bb43f
commit
982a2e3a37
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ void PlasmaWindowManagementInterfacePrivate::org_kde_plasma_window_management_ge
|
|||
return window->d->uuid == internal_window_uuid;
|
||||
});
|
||||
if (it == windows.constEnd()) {
|
||||
qCWarning(KWIN_CORE) << "Could not find window with uuid" << internal_window_uuid;
|
||||
qCDebug(KWIN_CORE) << "Could not find window with uuid" << internal_window_uuid;
|
||||
// create a temp window just for the resource, bind then immediately delete it, sending an unmap event
|
||||
PlasmaWindowInterface window(q, q);
|
||||
auto windowResource = window.d->add(resource->client(), id, resource->version());
|
||||
|
|
Loading…
Reference in a new issue