Workaround for wrong task manager icons on wayland
Not sure if this is correct way to fix this - is KWayland::Client::PlasmaWindow::resourceName() supposed to contain WM_CLASS instance for X11 windows?
KWayland::Client::PlasmaWindow::resourceName() should return WM_CLASS
for X11 windows (?) instead it returns empty string on (X)Wayland.
As a consequence wrong .desktop url is matched and task manager displays
wrong app icon in some cases (e.g. Chrome/Chromium/Brave apps).
Since KWin has correct icon AppData::icon is overriden with icon from KWayland::Client::PlasmaWindow::icon()
Edited by Mladen Milinkovic