command/spawn-tagmask: apply globally

Currently the spawn-tagmask applies to the currently focused output.
This however means that it is lost if the monitor is unplugged and makes
it hard to set for all outputs.

Change this to make the command apply to all outputs.

This is a breaking change.
This commit is contained in:
Isaac Freund
2023-01-02 00:54:53 +01:00
parent 931405abe4
commit 39104ae9e3
5 changed files with 10 additions and 12 deletions

View File

@ -137,11 +137,10 @@ are ignored by river.
set bits of _tags_.
*spawn-tagmask* _tagmask_
Set a _tagmask_ to filter the tags assigned to newly spawned views
on the focused output. This mask will be applied to the tags of
new views with a bitwise and. If, for example, the tags 000011111
are focused on an output with a _tagmask_ of 111110001, a new view
will be assigned the tags 000010001. If no tags would remain after
Set a _tagmask_ to filter the tags assigned to newly spawned views. This mask
will be applied to the tags of new views with a bitwise and. If, for example,
the tags 000011111 are focused and the spawn _tagmask_ is 111110001, a
new view will be assigned the tags 000010001. If no tags would remain after
filtering, the _tagmask_ is ignored.
*focus-previous-tags*