Commit 389ac518 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Print warning messages in KWAYLAND_SERVER logging category

This makes it easier to analyze logs.


(cherry picked from commit cb56921b)
parent 6fc4fb4e
Pipeline #48668 passed with stage
in 7 minutes and 1 second
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
*/ */
#include "plasmawindowmanagement_interface.h" #include "plasmawindowmanagement_interface.h"
#include "display.h" #include "display.h"
#include "logging.h"
#include "surface_interface.h" #include "surface_interface.h"
#include "plasmavirtualdesktop_interface.h" #include "plasmavirtualdesktop_interface.h"
...@@ -212,7 +213,7 @@ void PlasmaWindowManagementInterfacePrivate::org_kde_plasma_window_management_ge ...@@ -212,7 +213,7 @@ void PlasmaWindowManagementInterfacePrivate::org_kde_plasma_window_management_ge
} }
); );
if (it == windows.constEnd()) { if (it == windows.constEnd()) {
qWarning() << "Could not find window with uuid" << internal_window_uuid; qCWarning(KWAYLAND_SERVER) << "Could not find window with uuid" << internal_window_uuid;
// create a temp window just for the resource and directly send an unmapped // create a temp window just for the resource and directly send an unmapped
PlasmaWindowInterface *window = new PlasmaWindowInterface(q, q); PlasmaWindowInterface *window = new PlasmaWindowInterface(q, q);
window->d->unmapped = true; window->d->unmapped = true;
......
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