mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
kwin/convergentwindows: Port to kwin api changes
This commit is contained in:
parent
9776714341
commit
203f21d97d
1 changed files with 3 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ Item {
|
|||
target: ShellSettings.Settings
|
||||
|
||||
function onConvergenceModeEnabledChanged() {
|
||||
const clients = KWinComponents.Workspace.stackingOrder;
|
||||
const clients = KWinComponents.Workspace.windows;
|
||||
|
||||
for (let i = 0; i < clients.length; i++) {
|
||||
if (clients[i].normalWindow) {
|
||||
|
|
@ -35,7 +35,7 @@ Item {
|
|||
Connections {
|
||||
target: Workspace
|
||||
|
||||
function onClientAdded(client) {
|
||||
function onWindowAdded(client) {
|
||||
if (client.normalWindow) {
|
||||
client.interactiveMoveResizeFinished.connect((client) => {
|
||||
root.run(client);
|
||||
|
|
@ -48,7 +48,7 @@ Item {
|
|||
// Windows are moved from the external screen
|
||||
// to the internal screen if the external screen
|
||||
// is disconnected.
|
||||
const clients = KWinComponents.Workspace.stackingOrder;
|
||||
const clients = KWinComponents.Workspace.windows;
|
||||
|
||||
for (var i = 0; i < clients.length; i++) {
|
||||
if (clients[i].normalWindow) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue