mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
kwin/convergentwindows: Don't maximize xwaylandvideobridge ghost window
This commit is contained in:
parent
a8dd2dc2c1
commit
be7cd5f6ba
1 changed files with 10 additions and 0 deletions
|
|
@ -10,6 +10,16 @@ Loader {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
function run(window) {
|
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) {
|
if (ShellSettings.Settings.convergenceModeEnabled) {
|
||||||
window.noBorder = false;
|
window.noBorder = false;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue