Skip to content

Commit

Permalink
fix: activation of an element outside the current workspace
Browse files Browse the repository at this point in the history
If the activated element is outside the current workspace, its workspace should be set to urgent
  • Loading branch information
wash2 authored and Drakulix committed Dec 10, 2024
1 parent 9b50d0f commit 2c01c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wayland/handlers/xdg_activation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl XdgActivationHandler for State {
}
}

if workspace == &current_workspace.handle || in_current_workspace {
if in_current_workspace {
let target = element.into();

std::mem::drop(shell);
Expand Down

0 comments on commit 2c01c94

Please sign in to comment.