mirror of
https://github.com/swaywm/sway.git
synced 2025-11-25 06:59:48 -05:00
Implement popup_during_fullscreen
This introduces a new view_impl function: is_transient_for. Similar to container_has_ancestor but works using the surface parents rather than the tree. This patch modifies view_is_visible, container_at and so on to allow transient views to function normally when they're in front of a fullscreen view.
This commit is contained in:
parent
6cb0e58c6d
commit
832ebc8966
16 changed files with 192 additions and 2 deletions
|
|
@ -549,6 +549,12 @@ You may combine output commands into one, like so:
|
|||
You can get a list of output names with *swaymsg -t get\_outputs*. You may also
|
||||
match any output by using the output name "\*".
|
||||
|
||||
*popup\_during\_fullscreen* smart|ignore|leave\_fullscreen
|
||||
Determines what to do when a fullscreen view opens a dialog.
|
||||
If _smart_ (the default), the dialog will be displayed. If _ignore_, the
|
||||
dialog will not be rendered. If _leave\_fullscreen_, the view will exit
|
||||
fullscreen mode and the dialog will be rendered.
|
||||
|
||||
*set* $<name> <value>
|
||||
Sets variable $_name_ to _value_. You can use the new variable in the
|
||||
arguments of future commands. When the variable is used, it can be escaped
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue