aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorRagnar Groot Koerkamp <ragnar.grootkoerkamp@gmail.com>2021-06-18 17:05:23 +0200
committerSimon Ser <contact@emersion.fr>2021-06-22 19:00:31 +0200
commitc0c4e260c45a07b98fc90276a9ca7b6cf06b3d0b (patch)
tree3035de0f58cbaf2a0bffcbd42ab6ec94db060086 /include/sway
parentdbc326ba84037252da89d1140fe6113556600314 (diff)
Revert "Add workspace {prev,next}_on_output --create"
This reverts commit 487c83f0de9ca2a7650ad636eed6fd694ddcb82e. The --create flag is undocumented, not in i3, and at least partially broken (#5913), so this removes the feature.
Diffstat (limited to 'include/sway')
-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);