From 9912e876e9a21f26c8601472777d5fbaf30135e2 Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Mon, 25 Sep 2023 16:36:22 +0200 Subject: unmark the pid from the container when restoring the window temorary cleanup until we can use con_id instead of pid marks Signed-off-by: Anna (navi) Figueiredo Gomes --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ea74b32..4be9836 100644 --- a/src/main.rs +++ b/src/main.rs @@ -71,7 +71,7 @@ impl WindowHider { fn show(&self, conn: &mut Connection, pid: i32) -> Result<(), Error> { conn.run_command(format!("[con_mark={pid}] move workspace current"))?; - conn.run_command(format!("[con_mark={pid}] floating toggle"))?; + conn.run_command(format!("[con_mark={pid}] floating toggle, unmark {pid}"))?; Ok(()) } } -- cgit v1.2.3