From 2c01c944770a9ac085166f4ae1b3ad14e0f8b001 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Tue, 10 Dec 2024 11:25:37 -0500 Subject: [PATCH] fix: activation of an element outside the current workspace If the activated element is outside the current workspace, its workspace should be set to urgent --- src/wayland/handlers/xdg_activation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/handlers/xdg_activation.rs b/src/wayland/handlers/xdg_activation.rs index 78a488e6..7decb4bf 100644 --- a/src/wayland/handlers/xdg_activation.rs +++ b/src/wayland/handlers/xdg_activation.rs @@ -152,7 +152,7 @@ impl XdgActivationHandler for State { } } - if workspace == ¤t_workspace.handle || in_current_workspace { + if in_current_workspace { let target = element.into(); std::mem::drop(shell);