mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Add workspace {prev,next}_on_output --create
This creates the next workspace if you hit the end.
This commit is contained in:
parent
cd10e755c1
commit
487c83f0de
3 changed files with 32 additions and 16 deletions
|
|
@ -67,11 +67,13 @@ 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);
|
||||
struct sway_workspace *workspace_output_next(
|
||||
struct sway_workspace *current, bool create);
|
||||
|
||||
struct sway_workspace *workspace_next(struct sway_workspace *current);
|
||||
|
||||
struct sway_workspace *workspace_output_prev(struct sway_workspace *current);
|
||||
struct sway_workspace *workspace_output_prev(
|
||||
struct sway_workspace *current, bool create);
|
||||
|
||||
struct sway_workspace *workspace_prev(struct sway_workspace *current);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue