aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2025-05-06 11:46:35 +0200
committerFurkan Sahin <furkan-dev@proton.me>2025-05-06 11:46:35 +0200
commit454812ce65d1e515acc0c256184d0415aa1a5b93 (patch)
treed19ce171e96fd5ad6f39b96aeed8869548000827 /include
parent783ba917f2e59f7ec2bd4880af18439fe8bccef3 (diff)
tree/workspace: Remove exclude arg from get_highest_available
workspace_output_get_highest_available took an output to exclude as argument, meant to avoid accidentally reselecting an output we are evacuating workspaces from. Outputs are now removed from the list before we evacuate, making exclusion unnecessary. Remove the argument.
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/workspace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h
index 58bde20c..27ed649f 100644
--- a/include/sway/tree/workspace.h
+++ b/include/sway/tree/workspace.h
@@ -96,7 +96,7 @@ void workspace_output_add_priority(struct sway_workspace *workspace,
struct sway_output *output);
struct sway_output *workspace_output_get_highest_available(
- struct sway_workspace *ws, struct sway_output *exclude);
+ struct sway_workspace *ws);
void workspace_detect_urgent(struct sway_workspace *workspace);