|
|
@ -462,10 +462,16 @@ AppData WaylandInterface::appDataFor(WindowId wid) const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
auto window = windowFor(wid);
|
|
|
|
auto window = windowFor(wid);
|
|
|
|
|
|
|
|
|
|
|
|
const AppData &data = appDataFromUrl(windowUrlFromMetadata(window->appId(),
|
|
|
|
if (window) {
|
|
|
|
window->pid(), rulesConfig));
|
|
|
|
const AppData &data = appDataFromUrl(windowUrlFromMetadata(window->appId(),
|
|
|
|
|
|
|
|
window->pid(), rulesConfig));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return data;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AppData empty;
|
|
|
|
|
|
|
|
|
|
|
|
return data;
|
|
|
|
return empty;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
KWayland::Client::PlasmaWindow *WaylandInterface::windowFor(WindowId wid) const
|
|
|
|
KWayland::Client::PlasmaWindow *WaylandInterface::windowFor(WindowId wid) const
|
|
|
|