fix kwin bug

master
Jacopo De Simoi 4 months ago
parent ed0e88f229
commit 5f640957d8
  1. 30
      kde-plasma/kwin/0022-workspace-Do-not-move-my-tiles-around-when-desktop-c.patch

@ -0,0 +1,30 @@
From 4b80a192a5ee7a14fe45aee9c7dcaa046e47d572 Mon Sep 17 00:00:00 2001
From: Jacopo De Simoi <wilderjds@protonmail.com>
Date: Tue, 27 Jan 2026 23:11:00 -0500
Subject: [PATCH 22/22] [workspace] Do not move my tiles around when desktop
changes.
---
src/workspace.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/workspace.cpp b/src/workspace.cpp
index 034c61e31b..01ad3d1d20 100644
--- a/src/workspace.cpp
+++ b/src/workspace.cpp
@@ -976,8 +976,10 @@ void Workspace::updateWindowVisibilityAndActivateOnDesktopChange(VirtualDesktop
tile = candidate;
}
}
-
- window->requestTile(tile);
+ if (tile) {
+ // Do not break my stuff.
+ window->requestTile(tile);
+ }
}
activateWindowOnDesktop(newDesktop);
--
2.52.0
Loading…
Cancel
Save