mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
kwin/convergentwindows: Update to latest KWin changes, and remove KWin maximize mode
Disabled per-screen window decorations for now, since it seems KWin removed the screen property: 83c38b0907
This commit is contained in:
parent
33771b4afd
commit
fe8537c618
3 changed files with 5 additions and 16 deletions
|
|
@ -1,10 +0,0 @@
|
|||
<!--
|
||||
- SPDX-FileCopyrightText: None
|
||||
- SPDX-License-Identifier: CC0-1.0
|
||||
-->
|
||||
|
||||
# MobileShell State Plugin
|
||||
|
||||
This plugin stores the state of the mobile shell.
|
||||
|
||||
It should ONLY be imported by components in the plasmashell process (otherwise it won't be able to get the state).
|
||||
|
|
@ -13,7 +13,6 @@
|
|||
const QMap<QString, QMap<QString, QVariant>> KWINRC_SETTINGS = {
|
||||
{"Plugins", {{"blurEnabled", false}, {"convergentwindowsEnabled", true}}},
|
||||
{"Wayland", {{"InputMethod", "/usr/share/applications/com.github.maliit.keyboard.desktop"}, {"VirtualKeyboardEnabled", true}}},
|
||||
{"Windows", {{"Placement", "Maximizing"}}},
|
||||
};
|
||||
|
||||
// applications-blacklistrc
|
||||
|
|
|
|||
|
|
@ -9,12 +9,12 @@ Item {
|
|||
id: root
|
||||
|
||||
function run(client) {
|
||||
if (client.screen === 0) {
|
||||
// if (client.output === 0) {
|
||||
client.setMaximize(true, true);
|
||||
client.noBorder = true;
|
||||
} else {
|
||||
client.noBorder = false;
|
||||
}
|
||||
// } else {
|
||||
// client.noBorder = false;
|
||||
// }
|
||||
}
|
||||
|
||||
Connections {
|
||||
|
|
@ -33,7 +33,7 @@ Item {
|
|||
// Windows are moved from the external screen
|
||||
// to the internal screen if the external screen
|
||||
// is disconnected.
|
||||
const clients = Workspace.clientList();
|
||||
const clients = Workspace.clients;
|
||||
|
||||
for (var i = 0; i < clients.length; i++) {
|
||||
if (clients[i].normalWindow) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue