Tiled: call floatClient instead of floatKwinClient
This commit is contained in:
@@ -37,7 +37,7 @@ namespace ClientState {
|
||||
const desktop = desktopManager.getDesktopForClient(kwinClient);
|
||||
if (desktop === undefined) {
|
||||
// windows on multiple desktops are not supported
|
||||
clientManager.floatKwinClient(kwinClient);
|
||||
clientManager.floatClient(client);
|
||||
return;
|
||||
}
|
||||
Tiled.moveWindowToGrid(window, desktop.grid);
|
||||
@@ -49,7 +49,7 @@ namespace ClientState {
|
||||
const desktop = desktopManager.getDesktopForClient(kwinClient);
|
||||
if (desktop === undefined) {
|
||||
// windows on multiple activities are not supported
|
||||
clientManager.floatKwinClient(kwinClient);
|
||||
clientManager.floatClient(client);
|
||||
return;
|
||||
}
|
||||
Tiled.moveWindowToGrid(window, desktop.grid);
|
||||
@@ -75,7 +75,7 @@ namespace ClientState {
|
||||
if (kwinClient.move) {
|
||||
if (config.untileOnDrag) {
|
||||
world.do((clientManager, desktopManager) => {
|
||||
clientManager.floatKwinClient(kwinClient);
|
||||
clientManager.floatClient(client);
|
||||
});
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user