mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Fix assigning workspaces to outputs
It's possible to assign workspaces to certain outputs using the command:
workspace <name> output <output>
However, this did not work in some cases where the workspace was
assigned before the given output was made available to sway.
This patch fixes those cases.
This commit is contained in:
parent
79bfd620d6
commit
8ddafeeaae
4 changed files with 27 additions and 5 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
extern char *prev_workspace_name;
|
||||
|
||||
char *workspace_next_name(void);
|
||||
char *workspace_next_name(const char *output_name);
|
||||
swayc_t *workspace_create(const char*);
|
||||
swayc_t *workspace_by_name(const char*);
|
||||
swayc_t *workspace_by_number(const char*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue