diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-02-15 21:01:54 -0500 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-02-17 11:50:07 -0500 |
commit | 487c83f0de9ca2a7650ad636eed6fd694ddcb82e (patch) | |
tree | 1d679e8eb33c62bd60c14a4be4f3d5c8d89082fe /include/sway/tree | |
parent | Remove refs to unimplemented debuglog command (diff) | |
download | sway-487c83f0de9ca2a7650ad636eed6fd694ddcb82e.tar.gz sway-487c83f0de9ca2a7650ad636eed6fd694ddcb82e.tar.zst sway-487c83f0de9ca2a7650ad636eed6fd694ddcb82e.zip |
Add workspace {prev,next}_on_output --create
This creates the next workspace if you hit the end.
Diffstat (limited to 'include/sway/tree')
-rw-r--r-- | include/sway/tree/workspace.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h index 7abfbff1..41b59796 100644 --- a/include/sway/tree/workspace.h +++ b/include/sway/tree/workspace.h | |||
@@ -67,11 +67,13 @@ struct sway_workspace *workspace_by_number(const char* name); | |||
67 | 67 | ||
68 | struct sway_workspace *workspace_by_name(const char*); | 68 | struct sway_workspace *workspace_by_name(const char*); |
69 | 69 | ||
70 | struct sway_workspace *workspace_output_next(struct sway_workspace *current); | 70 | struct sway_workspace *workspace_output_next( |
71 | struct sway_workspace *current, bool create); | ||
71 | 72 | ||
72 | struct sway_workspace *workspace_next(struct sway_workspace *current); | 73 | struct sway_workspace *workspace_next(struct sway_workspace *current); |
73 | 74 | ||
74 | struct sway_workspace *workspace_output_prev(struct sway_workspace *current); | 75 | struct sway_workspace *workspace_output_prev( |
76 | struct sway_workspace *current, bool create); | ||
75 | 77 | ||
76 | struct sway_workspace *workspace_prev(struct sway_workspace *current); | 78 | struct sway_workspace *workspace_prev(struct sway_workspace *current); |
77 | 79 | ||