From 456bbf30b4cea20c04bdb17051609f3ce5746624 Mon Sep 17 00:00:00 2001 From: Peter Fajdiga Date: Sat, 13 Sep 2025 12:35:16 +0200 Subject: [PATCH] fix focus passing when moving a column to another desktop --- src/lib/layout/Window.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/layout/Window.ts b/src/lib/layout/Window.ts index b61dfdf..fb199ac 100644 --- a/src/lib/layout/Window.ts +++ b/src/lib/layout/Window.ts @@ -61,6 +61,10 @@ class Window { public focus() { this.client.focus(); + if (!this.isFocused()) { + // in some situations focus assignment just doesn't work, let's do it later + this.column.grid.focusPasser.request(this); + } } public isFocused() {