kwin/convergentwindows: Don't maximize xwaylandvideobridge ghost window

This commit is contained in:
Devin Lin 2024-03-07 16:04:06 -05:00
parent a8dd2dc2c1
commit be7cd5f6ba

View file

@ -10,6 +10,16 @@ Loader {
id: root
function run(window) {
// HACK: don't maximize xwaylandvideobridge
// see: https://invent.kde.org/plasma/plasma-mobile/-/issues/324
if (window.resourceClass === 'xwaylandvideobridge') {
return;
}
if (!window.normalWindow) {
return;
}
if (ShellSettings.Settings.convergenceModeEnabled) {
window.noBorder = false;
} else {