mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Add workspace to outputs
This commit is contained in:
parent
68036018c8
commit
aeda2e077f
7 changed files with 104 additions and 5 deletions
|
|
@ -126,5 +126,6 @@ struct sway_container {
|
|||
};
|
||||
|
||||
swayc_t *new_output(struct sway_output *sway_output);
|
||||
swayc_t *new_workspace(swayc_t *output, const char *name);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -5,5 +5,7 @@ struct sway_container;
|
|||
|
||||
void init_layout(void);
|
||||
void add_child(struct sway_container *parent, struct sway_container *child);
|
||||
enum swayc_layouts default_layout(struct sway_container *output);
|
||||
void sort_workspaces(struct sway_container *output);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
6
include/sway/workspace.h
Normal file
6
include/sway/workspace.h
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#ifndef _SWAY_WORKSPACE_H
|
||||
#define _SWAY_WORKSPACE_H
|
||||
|
||||
char *workspace_next_name(const char *output_name);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue