aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-10-07 20:40:05 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-10-08 22:49:59 +1000
commit832ebc896655cb5ca7689559d4e42b426d764e71 (patch)
tree1a3bc3ff7fb13d7ed5e86ad67a05739d4c4a1de3 /sway/sway.5.scd
parentMerge pull request #2791 from RyanDwyer/status-command-optional (diff)
downloadsway-832ebc896655cb5ca7689559d4e42b426d764e71.tar.gz
sway-832ebc896655cb5ca7689559d4e42b426d764e71.tar.zst
sway-832ebc896655cb5ca7689559d4e42b426d764e71.zip
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.
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd6
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 3fda6cef..387edf54 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -549,6 +549,12 @@ You may combine output commands into one, like so:
549You can get a list of output names with *swaymsg -t get\_outputs*. You may also 549You can get a list of output names with *swaymsg -t get\_outputs*. You may also
550match any output by using the output name "\*". 550match any output by using the output name "\*".
551 551
552*popup\_during\_fullscreen* smart|ignore|leave\_fullscreen
553 Determines what to do when a fullscreen view opens a dialog.
554 If _smart_ (the default), the dialog will be displayed. If _ignore_, the
555 dialog will not be rendered. If _leave\_fullscreen_, the view will exit
556 fullscreen mode and the dialog will be rendered.
557
552*set* $<name> <value> 558*set* $<name> <value>
553 Sets variable $_name_ to _value_. You can use the new variable in the 559 Sets variable $_name_ to _value_. You can use the new variable in the
554 arguments of future commands. When the variable is used, it can be escaped 560 arguments of future commands. When the variable is used, it can be escaped