aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-06-18 17:05:23 +0200
committerFurkan Sahin <furkan-dev@proton.me>2021-06-18 17:05:23 +0200
commit3fde9b0a4c2817ed586782b861b867a3d95abeeb (patch)
tree3035de0f58cbaf2a0bffcbd42ab6ec94db060086 /include
parentbca65f24694d5341f01582bc682e05a5b608be4e (diff)
Revert "Add workspace {prev,next}_on_output --create"
This reverts commit 625f360512c7c3c9d941ad5825d5bb70f8b0d867. The --create flag is undocumented, not in i3, and at least partially broken (#5913), so this removes the feature.
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/workspace.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h
index 65ba247f..b3d93a81 100644
--- a/include/sway/tree/workspace.h
+++ b/include/sway/tree/workspace.h
@@ -69,13 +69,11 @@ struct sway_workspace *workspace_by_number(const char* name);
struct sway_workspace *workspace_by_name(const char*);
-struct sway_workspace *workspace_output_next(
- struct sway_workspace *current, bool create);
+struct sway_workspace *workspace_output_next(struct sway_workspace *current);
struct sway_workspace *workspace_next(struct sway_workspace *current);
-struct sway_workspace *workspace_output_prev(
- struct sway_workspace *current, bool create);
+struct sway_workspace *workspace_output_prev(struct sway_workspace *current);
struct sway_workspace *workspace_prev(struct sway_workspace *current);