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
This commit is contained in:
Ashley Wulber 2024-12-10 11:25:37 -05:00 • committed by Victoria Brekenfeld
parent 9b50d0f506
commit 2c01c94477

View file

@ -152,7 +152,7 @@ impl XdgActivationHandler for State {
} }
} }
if workspace == &current_workspace.handle || in_current_workspace { if in_current_workspace {
let target = element.into(); let target = element.into();
std::mem::drop(shell); std::mem::drop(shell);